This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Register allocation - varying numbers
- From: Mike Stump <mrs at apple dot com>
- To: kchak at cs dot wisc dot edu
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 31 Oct 2002 11:03:59 -0800
- Subject: 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