mirror of
https://github.com/golang/go
synced 2024-11-25 22:07:58 -07:00
increase from 3 to 11 floating registers
R=rsc OCL=32947 CL=32947
This commit is contained in:
parent
34f76b5de5
commit
60238e25bf
@ -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 */
|
||||
};
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user