Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.6
 
1.7
 
MAIN:gmcgarry:20071213042014
 
macdefs.h
_>4646  */
 4747 #define makecc(val,i)   lastcon = (lastcon<<8)|((val<<24)>>24);
 4848 
<>49 -#define ARGINIT         (12*8)  /* # bits above fp where arguments start */
  49+#define ARGINIT         (16*8)  /* # bits above fp where arguments start */
5050 #define AUTOINIT        (0)     /* # bits below fp where automatics start */
 5151 
 5252 /*
     
 !
5757 #define SZINT           32
 5858 #define SZFLOAT         32
 5959 #define SZDOUBLE        64
<>60 -#define SZLDOUBLE       128
  60+#define SZLDOUBLE       64
6161 #define SZLONG          32
 6262 #define SZSHORT         16
 6363 #define SZLONGLONG      64
     
 !
6969 #define ALCHAR          8
 7070 #define ALBOOL          32
 7171 #define ALINT           32
<>72 -#define ALFLOAT         32
 73 -#define ALDOUBLE        32
 74 -#define ALLDOUBLE       32
  72+#define ALFLOAT         64
  73+#define ALDOUBLE        64
  74+#define ALLDOUBLE       64
7575 #define ALLONG          32
<>76 -#define ALLONGLONG      32
  76+#define ALLONGLONG      64
7777 #define ALSHORT         16
 7878 #define ALPOINT         32
 7979 #define ALSTRUCT        32
<>80 -#define ALSTACK         32
  80+#define ALSTACK         64
8181 
 8282 /*
 8383  * Min/max values.
     
 !
145145 #define A1      5
 146146 #define A2      6
 147147 #define A3      7
<>148 -#if defined(MIPS_N32) || defined(MIPS_N64)
149148 #define A4      8
 150149 #define A5      9
 151150 #define A6      10
 152151 #define A7      11
<> 152+#if defined(MIPS_N32) || defined(MIPS_N64)
153153 #define T0      12
 154154 #define T1      13
 155155 #define T2      14
     
 !
159159 #define T1      9
 160160 #define T2      10
 161161 #define T3      11
<> 162+#endif
162163 #define T4      12
 163164 #define T5      13
 164165 #define T6      14
 165166 #define T7      15
<>166 -#endif
167167 #define S0      16
 168168 #define S1      17
 169169 #define S2      18
     
 !
185185 #define A0A1    33
 186186 #define A1A2    34
 187187 #define A2A3    35
<>188 -#if defined(MIPS_N32) || defined(MIPS_N64)
 189 -#define A3A4    36
 190 -#define A4A5    37
 191 -#define A5A6    38
 192 -#define A6A7    39
 193 -#define T0T1    41
 194 -#define T1T2    42
 195 -#define T2T3    43
 196 -#else
  188+
  189+/* we just use o32 naming here, but it works ok for n32/n64 */
  190+#define A3T0    36
197191 #define T0T1    37
 198192 #define T1T2    38
 199193 #define T2T3    39
 200194 #define T3T4    40
 201195 #define T4T5    41
 202196 #define T5T6    42
 203197 #define T6T7    43
<>204 -#endif
 205 -#define T8T9    44
 206 -#define S0S1    45
 207 -#define S1S2    46
 208 -#define S2S3    47
 209 -#define S3S4    48
 210 -#define S4S5    49
 211 -#define S5S6    50
 212 -#define S6S7    51
  198+#define T7T8    44
213199 
<>214 -#define F0      52
 215 -#define F2      53
 216 -#define F4      54
 217 -#define F6      55
 218 -#define F8      56
 219 -#define F10     57
 220 -#define F12     58
 221 -#define F14     59
 222 -#define F16     68
 223 -#define F18     61
 224 -#define F20     62
 225 -#define F22     63
  200+#define T8T9    45
  201+#define S0S1    46
  202+#define S1S2    47
  203+#define S2S3    48
  204+#define S3S4    49
  205+#define S4S5    50
  206+#define S5S6    51
  207+#define S6S7    52
  208+
  209+#define F0      53
  210+#define F2      54
  211+#define F4      55
  212+#define F6      56
  213+#define F8      57
  214+#define F10     58
  215+#define F12     59
  216+#define F14     60
  217+#define F16     61
  218+#define F18     62
  219+#define F20     63
226220 /* and the rest for later */
<>227 -#define F24     64
 228 -#define F26     65
 229 -#define F28     66
 230 -#define F30     67
  221+#define F22     64
  222+#define F24     65
  223+#define F26     66
  224+#define F28     67
  225+#define F30     68
231226 
 232227 #define MAXREGS 64
 233228 #define NUMCLASS 3
     
 !
254249         \
 255250         SBREG|TEMPREG,                                                  \
 256251         SBREG|TEMPREG, SBREG|TEMPREG, SBREG|TEMPREG,                    \
<>257 -        SBREG|TEMPREG, /* only available on n32/n64 */                  \
  252+        SBREG|TEMPREG,                                                  \
258253         SBREG|TEMPREG, SBREG|TEMPREG, SBREG|TEMPREG,                    \
<>259 -        SBREG|TEMPREG, /* only available on o32 */                      \
 260 -        SBREG|TEMPREG,                                                  \
 261 -        SBREG|TEMPREG, SBREG|TEMPREG, SBREG|TEMPREG,                    \
  254+        SBREG|TEMPREG, SBREG|TEMPREG,                                   \
  255+        SBREG|TEMPREG, SBREG|TEMPREG, SBREG|TEMPREG, SBREG|TEMPREG,     \
262256         SBREG, SBREG, SBREG, SBREG,                                     \
 263257         SBREG, SBREG, SBREG,                                            \
 264258         SCREG, SCREG, SCREG, SCREG,                                     \
 265259         SCREG, SCREG, SCREG, SCREG,                                     \
<>266 -        SCREG, SCREG, SCREG, SCREG,                                     \
  260+        SCREG, SCREG, SCREG,                                            \
267261 
 268262 #define ROVERLAP \
<>269 -        { -1 }, { -1 },                                                 \
 270 -        { V0V1, -1 }, { V0V1, -1 },                                     \
 271 -        { A0A1, -1 },                                                   \
 272 -        { A0A1, A1A2, -1 },                                             \
 273 -        { A1A2, A2A3, -1 },                                             \
 274 -        { A2A3, -1 },                                                   \
  263+        { -1 },                         /* $zero */                     \
  264+        { -1 },                         /* $at */                       \
  265+        { V0V1, -1 },                   /* $v0 */                       \
  266+        { V0V1, -1 },                   /* $v1 */                       \
  267+        { A0A1, -1 },                   /* $a0 */                       \
  268+        { A0A1, A1A2, -1 },             /* $a1 */                       \
  269+        { A1A2, A2A3, -1 },             /* $a2 */                       \
  270+        { A2A3, A3T0, -1 },             /* $a3 */                       \
  271+        { A3T0, T0T1, -1 },             /* $t0 */                       \
  272+        { T0T1, T1T2, -1 },             /* $t1 */                       \
  273+        { T1T2, T2T3, -1 },             /* $t2 */                       \
  274+        { T2T3, T3T4, -1 },             /* $t3 */                       \
  275+        { T3T4, T4T5, -1 },             /* $t4 */                       \
  276+        { T4T5, T5T6, -1 },             /* $t5 */                       \
  277+        { T6T7, T7T8, -1 },             /* $t6 */                       \
  278+        { T7T8, T8T9, -1 },             /* $t7 */                       \
275279         \
<>276 -        { T0T1, -1 },                                                   \
 277 -        { T0T1, T1T2, -1 },                                             \
 278 -        { T1T2, T2T3, -1 },                                             \
 279 -        { T2T3, T3T4, -1 },                                             \
 280 -        { T3T4, T4T5, -1 },                                             \
 281 -        { T4T5, T5T6, -1 },                                             \
 282 -        { T5T6, T6T7, -1 },                                             \
 283 -        { T6T7, -1 },                                                   \
  280+        { S0S1, -1 },                   /* $s0 */                       \
  281+        { S0S1, S1S2, -1 },             /* $s1 */                       \
  282+        { S1S2, S2S3, -1 },             /* $s2 */                       \
  283+        { S2S3, S3S4, -1 },             /* $s3 */                       \
  284+        { S3S4, S4S5, -1 },             /* $s4 */                       \
  285+        { S4S5, S5S6, -1 },             /* $s5 */                       \
  286+        { S5S6, S6S7, -1 },             /* $s6 */                       \
  287+        { S6S7, -1 },                   /* $s7 */                       \
284288         \
<>285 -        { S0S1, -1 },                                                   \
 286 -        { S0S1, S1S2, -1 },                                             \
 287 -        { S1S2, S2S3, -1 },                                             \
 288 -        { S2S3, S3S4, -1 },                                             \
 289 -        { S3S4, S4S5, -1 },                                             \
 290 -        { S4S5, S5S6, -1 },                                             \
 291 -        { S5S6, S6S7, -1 },                                             \
 292 -        { S6S7, -1 },                                                   \
  289+        { T7T8, T8T9, -1 },             /* $t8 */                       \
  290+        { T8T9, -1 },                   /* $t9 */                       \
293291         \
<>294 -        { T8T9, -1 },                                                   \
 295 -        { T8T9, -1 },                                                   \
  292+        { -1 },                         /* $k0 */                       \
  293+        { -1 },                         /* $k1 */                       \
  294+        { -1 },                         /* $gp */                       \
  295+        { -1 },                         /* $sp */                       \
  296+        { -1 },                         /* $fp */                       \
  297+        { -1 },                         /* $ra */                       \
296298         \
<>297 -        { -1 }, { -1 },                                                 \
 298 -        { -1 }, { -1 }, { -1 }, { -1 },                                 \
  299+        { V0, V1, -1 },                 /* $v0:$v1 */                   \
299300         \
<>300 -        { V0, V1, -1 },                                                 \
  301+        { A0, A1, A1A2, -1 },           /* $a0:$a1 */                   \
  302+        { A1, A2, A0A1, A2A3, -1 },     /* $a1:$a2 */                   \
  303+        { A2, A3, A1A2, A3T0, -1 },     /* $a2:$a3 */                   \
  304+        { A3, T0, A2A3, T0T1, -1 },     /* $a3:$t0 */                   \
  305+        { T0, T1, A3T0, T1T2, -1 },     /* $t0:$t1 */                   \
  306+        { T1, T2, T0T1, T2T3, -1 },     /* $t1:$t2 */                   \
  307+        { T2, T3, T1T2, T3T4, -1 },     /* $t2:$t3 */                   \
  308+        { T3, T4, T2T3, T4T5, -1 },     /* $t3:$t4 */                   \
  309+        { T4, T5, T3T4, T5T6, -1 },     /* $t4:$t5 */                   \
  310+        { T5, T6, T4T5, T6T7, -1 },     /* $t5:$t6 */                   \
  311+        { T6, T7, T5T6, T7T8, -1 },     /* $t6:$t7 */                   \
  312+        { T7, T8, T6T7, T8T9, -1 },     /* $t7:$t8 */                   \
  313+        { T8, T9, T7T8, -1 },           /* $t8:$t9 */                   \
301314         \
<>302 -        { A0, A1, -1 },                                                 \
 303 -        { A1, A2, -1 },                                                 \
 304 -        { A2, A3, -1 },                                                 \
 305 -        \
 306 -        { -1 }, /* only useful on n32/n64 */                            \
 307 -        { T0, T1, T1T2, -1 },                                           \
 308 -        { T1, T2, T0T1, T2T3, -1 },                                     \
 309 -        { T2, T3, T1T2, T3T4, -1 },                                     \
 310 -        { T3, T4, T2T3, T4T5, -1 }, /* only useful on o32 */            \
 311 -        { T4, T5, T3T4, T5T6, -1 },                                     \
 312 -        { T5, T6, T4T5, T6T7, -1 },                                     \
 313 -        { T6, T7, T5T6, -1 },                                           \
 314 -        \
 315 -        { T8, T9, -1 },                                                 \
 316 -        \
 317 -        { S0, S1, S1S2, -1 },                                           \
  315+        { S0, S1, S1S2, -1 },           /* $s0:$s1 */                   \
318316         { S1, S2, S0S1, S2S3, -1 },                                     \
 319317         { S2, S3, S1S2, S3S4, -1 },                                     \
 320318         { S3, S4, S2S3, S4S5, -1 },                                     \
     
 !
324322         \
 325323         { -1 }, { -1 }, { -1 }, { -1 },                                 \
 326324         { -1 }, { -1 }, { -1 }, { -1 },                                 \
<>327 -        { -1 }, { -1 }, { -1 }, { -1 },                                 \
  325+        { -1 }, { -1 }, { -1 },                                         \
328326 
 329327 #define GCLASS(x)       (x < 32 ? CLASSA : (x < 52 ? CLASSB : CLASSC))
 330328 #define PCLASS(p)       (1 << gclass((p)->n_type))
     
 !
336334 extern int bigendian;
 337335 extern int nargregs;
 338336 
<> 337+#define SPCON           (MAXSPECIAL+1)  /* positive constant */
  338+
<_339339 #define TARGET_STDARGS
 340340 #define TARGET_BUILTINS                                         \
 341341         { "__builtin_stdarg_start", mips_builtin_stdarg_start },        \
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-10-31 18:55 +0100