This is the mail archive of the gcc@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: Compiling without the use of static registers in IA-64


mcrosier@ncsu.edu wrote:
I was wondering if anyone knew how I could modify gcc to not use static
general purpose registers on an IA-64 machine?

Besides the -ffixed-reg option Vlad mentioned, there is also a documented IA-64 specific option for this. See the docs. No reason why this option needs to be IA-64 specific though; it was just implemented that way for convenience before the IA-64 port was contributed to the FSF.


You may have trouble with 64-bit constants if you disable r2/r3. There are only four regs that work with the addl instruction, and you have just disallowed all of them. You might need other changes to make this work.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com



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