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]

Re: register variables


On 24-May-2001, zhang tao <warmice@sina.com> wrote:
> How can I tell GCC which registers in my architecture are reserved for
> register variables in the machine description file of it?

The FIXED_REGISTERS macro (which is documented in the manual) defines
registers that are reserved for other purposes.  I think any registers
which are not fixed are assumed to be available for use as register
variables.

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.


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