register variables

Fergus Henderson fjh@cs.mu.oz.au
Thu May 24 09:01:00 GMT 2001


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.



More information about the Gcc mailing list