Rename SCRATCH to RSCRATCH. Never stack RSCRATCH nor FSCRATCH.
authorGeorge Koehler <xkernigh@netscape.net>
Fri, 7 Oct 2016 00:47:42 +0000 (20:47 -0400)
committerGeorge Koehler <xkernigh@netscape.net>
Fri, 7 Oct 2016 00:47:42 +0000 (20:47 -0400)
commit7cccd88b71bb7ee82e75ac13dc1eb797951f2836
treeb83eb152c5ea38b88808e334758f1bfd60d94ae1
parent9017ba9deacfdfa6863416e83f1a418300bbd0e2
Rename SCRATCH to RSCRATCH.  Never stack RSCRATCH nor FSCRATCH.

Rename the scratch gpr (currently r11) from SCRATCH to RSCRATCH so I
can search for RSCRATCH without finding FSCRATCH.  I also want to
avoid confusion with the SCRATCH keyword of the old code generator (cg
which came before ncg).

Change the stacking rules to prevent stacking of RSCRATCH or FSCRATCH
or any other GPR or FPR that isn't an allocatable REG or FREG.  Then
ncgg rejects any rule that tries to stack a GPR or FPR, so change such
rules to stack a REG or FREG.
mach/powerpc/ncg/table