This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

ARM: use of r10 register


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]