Commit 60238e25 authored by Ken Thompson's avatar Ken Thompson

increase from 3 to 11 floating registers

R=rsc
OCL=32947
CL=32947
parent 34f76b5d
......@@ -1439,9 +1439,9 @@ BtoR(int32 b)
/*
* bit reg
* 16 X5
* 17 X6
* 18 X7
* 16 X5 (FREGMIN)
* ...
* 26 X15 (FREGEXT)
*/
int32
FtoB(int f)
......@@ -1455,7 +1455,7 @@ int
BtoF(int32 b)
{
b &= 0x70000L;
b &= 0xFF0000L;
if(b == 0)
return 0;
return bitno(b) - 16 + FREGMIN;
......
......@@ -839,7 +839,7 @@ enum
REGTMP = D_DI,
REGEXT = D_R15, /* compiler allocates external registers R15 down */
FREGMIN = D_X0+5, /* first register variable */
FREGEXT = D_X0+7 /* first external register */
FREGEXT = D_X0+15 /* first external register */
};
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment