[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc
Subject:    Re: Register allocation - varying numbers
From:       Mike Stump <mrs () apple ! com>
Date:       2002-10-31 19:03:59
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic