Compiling without the use of static registers in IA-64

Vladimir Makarov vmakarov@redhat.com
Tue Mar 13 15:32:00 GMT 2007


mcrosier@ncsu.edu wrote:

>All-
>I was wondering if anyone knew how I could modify gcc to not use static
>general purpose registers on an IA-64 machine?  Specifically, I only want
>the compiler to allocate registers from the register stack engine (RSE)
>and the system defined registers (e.g., stack pointer, global pointer,
>etc).  I do not want to allocate general purpose registers 2-11 or 14-31. 
>Any ideas?
>
> Thanks,
>  Chad Rosier
>
>ps. please reply to my email address as well as the mailing list as I'm
>not currently subscribing to the list.  :(  Thanks!
>  
>
It is better ask such things on gcc-help.  You can use -ffixed-REG 
option to prevent allocation of such registers or change FIXED_REGISTERS 
macro in ia64.h.




More information about the Gcc mailing list