Temp Registers

Adi Lakshmi Devi N lakshmin@sankhya.com
Wed Sep 20 05:10:00 GMT 2006


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



More information about the Gcc-help mailing list