This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Temp Registers
- From: Adi Lakshmi Devi N <lakshmin at sankhya dot com>
- To: Wolfgang Haidinger <Wolfgang dot Haidinger at br-automation dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Wed, 20 Sep 2006 10:29:57 +0530 (IST)
- Subject: 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