Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.1
 
1.2
 
MAIN:gmcgarry:20071105145703
 
macdefs.h
_>4242  */
 4343 #define makecc(val,i)   lastcon = (lastcon<<8)|((val<<24)>>24);
 4444 
<>45 -#define ARGINIT         64      /* # bits above fp where arguments start */
  45+#define ARGINIT         (8*8)   /* # bits above fp where arguments start */
4646 #define AUTOINIT        0       /* # bits below fp where automatics start */
 4747 
 4848 /*
 4949  * Storage space requirements
 5050  */
 5151 #define SZCHAR          8
<> 52+#define SZBOOL          32
5253 #define SZINT           32
 5354 #define SZFLOAT         32
 5455 #define SZDOUBLE        64
     
 !
6263  * Alignment constraints
 6364  */
 6465 #define ALCHAR          8
<> 66+#define ALBOOL          32
6567 #define ALINT           32
 6668 #define ALFLOAT         32
 6769 #define ALDOUBLE        32
     
 !
9294 #define MAX_LONGLONG    0x7fffffffffffffffLL
 9395 #define MAX_ULONGLONG   0xffffffffffffffffULL
 9496 
<>95 -/* Default char is unsigned */
9697 #undef  CHAR_UNSIGNED
<> 98+#define TARGET_STDARGS
  99+#define BOOL_TYPE       INT
  100+#define WCHAR_TYPE      INT
97101 
 98102 /*
 99103  * Use large-enough types.
     
 !
103107 typedef long long OFFSZ;
 104108 
 105109 #define CONFMT  "%lld"          /* format for printing constants */
<>106 -#define LABFMT  ".L%d"          /* format for printing labels */
 107 -#define STABLBL ".LL%d"         /* format for stab (debugging) labels */
  110+#define LABFMT  "L%d"           /* format for printing labels */
  111+#define STABLBL "LL%d"          /* format for stab (debugging) labels */
108112 #ifdef FORTRAN
 109113 #define XL 8
 110114 #define FLABELFMT "%s:\n"
     
 !
191195 #define FP 30
 192196 #define RA 31
 193197 
<>194 -#define RETREG  V0      /* Return register */
 195 -#define REGSZ   32      /* number of registers */
  198+#define A0A1    32
  199+#define A1A2    33
  200+#define A2A3    34
  201+#define T0T1    35
  202+#define T1T2    36
  203+#define T2T3    37
  204+#define T3T4    38
  205+#define T4T5    39
  206+#define T5T6    40
  207+#define T6T7    41
  208+
  209+#define RETREG(x)       V0
196210 #define FPREG   FP      /* frame pointer */
<>197 -#define STKREG  SP      /* stack pointer */
  211+#define STKREG  SP
  212+
198213 #define MINRVAR S0      /* first register variable */
 199214 #define MAXRVAR S7      /* last register variable */
<>200 -
201215 #define NREGREG (MAXRVAR-MINRVAR+1)
 202216 
<>203 -/*
 204 - * Register types are described by bitmasks.
 205 - */
 206 -#define AREGS   (REGBIT(T0)|REGBIT(T1)|REGBIT(T2)|REGBIT(T3)| \
 207 -        REGBIT(T4)|REGBIT(T5)|REGBIT(T6)|REGBIT(T7)|REGBIT(T8)|REGBIT(T9)|\
 208 -        REGBIT(V0)|REGBIT(V1)|REGBIT(A0)|REGBIT(A1)|REGBIT(A2)|REGBIT(A3)|\
 209 -        REGBIT(S0)|REGBIT(S1)|REGBIT(S2)|REGBIT(S3)|REGBIT(S4)|REGBIT(S5)|\
 210 -        REGBIT(S6)|REGBIT(S7))
 211 -#define TAREGS  (REGBIT(T0)|REGBIT(T1)|REGBIT(T2)|REGBIT(T3)|REGBIT(T4)|\
 212 -                 REGBIT(T5)|REGBIT(T6)|REGBIT(T7)|REGBIT(T8)|REGBIT(T9)|\
 213 -                 REGBIT(V0)|REGBIT(V1))
  217+#define MAXREGS 32
  218+#define NUMCLASS 4
214219 
<>215 -/* For floating point? */
 216 -#define BREGS   0xff00
 217 -#define TBREGS  BREGS   
  220+#define RSTATUS \
  221+        SAREG|TEMPREG, SAREG|TEMPREG, SAREG|TEMPREG, SAREG|TEMPREG,     \
  222+        SAREG|TEMPREG, SAREG|TEMPREG, SAREG|TEMPREG, SAREG|TEMPREG,     \
  223+        SAREG|TEMPREG, SAREG|TEMPREG, SAREG|TEMPREG, SAREG|TEMPREG,     \
  224+        0, 0,                                                           \
  225+        SAREG|TEMPREG, SAREG|TEMPREG, SAREG|TEMPREG, SAREG|TEMPREG,     \
  226+        SAREG|PERMREG, SAREG|PERMREG, SAREG|PERMREG, SAREG|PERMREG,     \
  227+        SAREG|PERMREG, SAREG|PERMREG, SAREG|PERMREG, SAREG|PERMREG,     \
  228+        0, 0,                                                           \
  229+        0, 0, 0, 0
218230 
<>219 -//#define       MYADDEDGE(x, t) if (t < INT) { AddEdge(x, ESI); AddEdge(x, EDI); }
 220 -#define MYADDEDGE(x, t)
 221 -#define PCLASS(p) SAREG
  231+#define ROVERLAP \
  232+        { -1 }, { -1 }, { -1 }, { -1 },                                 \
  233+        { -1 }, { -1 }, { -1 }, { -1 },                                 \
  234+        { -1 }, { -1 }, { -1 }, { -1 },                                 \
  235+        { -1 }, { -1 }, { -1 }, { -1 },                                 \
  236+        { -1 }, { -1 }, { -1 }, { -1 },                                 \
  237+        { -1 }, { -1 }, { -1 }, { -1 },                                 \
  238+        { -1 }, { -1 }, { -1 }, { -1 },                                 \
  239+        { -1 }, { -1 }, { -1 }, { -1 }
222240 
<> 241+#define GCLASS(x)       CLASSA
  242+#define PCLASS(p)       SAREG
  243+#define DECRA(x,y)      (((x) >> (y*6)) & 63)   /* decode encoded regs */
  244+#define ENCRA(x,y)      ((x) << (6+y*6))        /* encode regs in int */
  245+#if 0
  246+#define GCLASS(x)       CLASSA
  247+#define ENCRD(x)        (x)             /* Encode dest reg in n_reg */
  248+#define ENCRA1(x)       ((x) << 6)      /* A1 */
  249+#define ENCRA2(x)       ((x) << 12)     /* A2 */
  250+#endif
  251+
  252+int COLORMAP(int c, int *r);
  253+
<_223254 #define MYREADER(p) myreader(p)
 224255 #define MYCANON(p) mycanon(p)
 225256 #define MYOPTIM
FishEye: Open Source License registered to PCC.
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-12-22 13:40 +0100