Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.11
 
1.12
 
MAIN:ragge:20100919205515
 
macdefs.h
_>149149  * The classes used on amd64 are:
 150150  *      A - integer registers
 151151  *      B - xmm registers
<> 152+ *      C - x87 registers
152153  */
 153154 #define RAX     000
 154155 #define RDX     001
     
 !
184185 #define XMM14   036
 185186 #define XMM15   037
 186187 
<>187 -#define MAXREGS 040     /* 32 registers */
  188+#define MAXREGS 050     /* 40 registers */
188189 
 189190 #define RSTATUS \
 190191         SAREG|TEMPREG, SAREG|TEMPREG, SAREG|TEMPREG, SAREG|PERMREG,     \
     
 !
194195         SBREG|TEMPREG, SBREG|TEMPREG, SBREG|TEMPREG, SBREG|TEMPREG,     \
 195196         SBREG|TEMPREG, SBREG|TEMPREG, SBREG|TEMPREG, SBREG|TEMPREG,     \
 196197         SBREG|TEMPREG, SBREG|TEMPREG, SBREG|TEMPREG, SBREG|TEMPREG,     \
<>197 -        SBREG|TEMPREG, SBREG|TEMPREG, SBREG|TEMPREG, SBREG|TEMPREG,
  198+        SBREG|TEMPREG, SBREG|TEMPREG, SBREG|TEMPREG, SBREG|TEMPREG,     \
  199+        SCREG, SCREG, SCREG, SCREG,  SCREG, SCREG, SCREG, SCREG,
198200 
<> 201+
199202 /* no overlapping registers at all */
 200203 #define ROVERLAP \
 201204         { -1 }, { -1 }, { -1 }, { -1 }, { -1 }, { -1 }, { -1 }, { -1 }, \
 202205         { -1 }, { -1 }, { -1 }, { -1 }, { -1 }, { -1 }, { -1 }, { -1 }, \
 203206         { -1 }, { -1 }, { -1 }, { -1 }, { -1 }, { -1 }, { -1 }, { -1 }, \
<> 207+        { -1 }, { -1 }, { -1 }, { -1 }, { -1 }, { -1 }, { -1 }, { -1 }, \
204208         { -1 }, { -1 }, { -1 }, { -1 }, { -1 }, { -1 }, { -1 }, { -1 },
 205209 
 206210 
 207211 /* Return a register class based on the type of the node */
<>208 -#define PCLASS(p) (p->n_type >= FLOAT && p->n_type <= LDOUBLE ? SBREG : SAREG)
  212+#define PCLASS(p) (p->n_type == FLOAT || p->n_type == DOUBLE ? SBREG : \
  213+                   p->n_type == LDOUBLE ? SCREG : SAREG)
209214 
<>210 -#define NUMCLASS        2       /* highest number of reg classes used */
  215+#define NUMCLASS        3       /* highest number of reg classes used */
211216 
 212217 int COLORMAP(int c, int *r);
<>213 -#define GCLASS(x) (x < 16 ? CLASSA : CLASSB)
  218+#define GCLASS(x) (x < 16 ? CLASSA : x < 32 ? CLASSB : CLASSC)
214219 #define DECRA(x,y)      (((x) >> (y*8)) & 255)  /* decode encoded regs */
 215220 #define ENCRD(x)        (x)             /* Encode dest reg in n_reg */
 216221 #define ENCRA1(x)       ((x) << 8)      /* A1 */
 217222 #define ENCRA2(x)       ((x) << 16)     /* A2 */
 218223 #define ENCRA(x,y)      ((x) << (8+y*8))        /* encode regs in int */
 219224 
<>220 -#define RETREG(x)       (x == FLOAT || x == DOUBLE || x == LDOUBLE ? XMM0 : RAX)
  225+#define RETREG(x)       (x == FLOAT || x == DOUBLE ? XMM0 : \
  226+                         x == LDOUBLE ? 32 : RAX)
<_221227 
 222228 /* XXX - to die */
 223229 #define FPREG   RBP     /* frame pointer */
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-08-31 10:18 +0200