ARM: use of r10 register

Luke Diamand lgd@virata.com
Tue Nov 17 10:15:00 GMT 1998


Hi!

I noticed in config/arm.h that it says:

/* Register allocation in ARM Procedure Call Standard (as used on
RISCiX):
   (S - saved over call).

......
        r10        F S  (sl) stack limit (not currently used)

It then goes on to list the registers that have pervasive uses:


#define FIXED_REGISTERS  \
{                        \
  0,0,0,0,0,0,0,0,       \
  0,0,1,1,0,1,0,1,       \
  0,0,0,0,0,0,0,0,       \
  1,1,1                  \
}

As far as I can tell, this means that r10 won't be used. looking in the
assembler generated, r10 does not seem to be used, but I haven't asked
for stack limit checking. What am I missing? How do I get r10 to be
used?

TIA!
Luke Diamand
-- 
Virata http://www.virata.com
Cambridge
Tel: +44 1223 566919      Fax: +44 1223 566915



More information about the Gcc-bugs mailing list