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: Register allocation - varying numbers


On Monday, October 28, 2002, at 08:08 PM, kchak@cs.wisc.edu wrote:
I want to vary the number of GPR and FPR that gcc will use in its code
generation. I am particularly interested to do this in i686
architecture. I looked up in the codebase and found definition of
FIRST_PSEUDO_REGISTER etc and also certain bitmap for these in
i386.h. However, I am not certain if these are the place that I need to
change to make this effect. In particular, if I want gcc to generate code
using 8 GPR and 8 FPR 9or say no FPR), what do you I need to do ?
What part of the hundred+ page manual where we describe this was unclear? :-)

In particular, see -ffixed-<reg> at:

http://gcc.gnu.org/onlinedocs/gcc/Code-Gen- Options.html#Code%20Gen%20Options

and register information at:

http://gcc.gnu.org/onlinedocs/gccint/Registers.html#Registers


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