This is the mail archive of the gcc-help@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]
Other format: [Raw text]

Re: Temp Registers


Hi,

> is it true, that the arm-elf-gcc uses the registers r0-r3 and r12(ip) as 
> temporary registers? Thus it shoulde be possible to use this registers in 
> an assembler routine without restoring?

  Yes, Its true.
> 
> And if this is true, where can i find some documentation about the 
> register allocation?


   Check the "CALL_USED_REGISTERS" macro in the arm.h file.

---
Thanks & Regards,
Adilakshmi Devi.N


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