This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: register variables
- To: gcc at gcc dot gnu dot org, warmice at sina dot com
- Subject: Re: register variables
- From: mike stump <mrs at windriver dot com>
- Date: Fri, 1 Jun 2001 17:21:55 -0700 (PDT)
> From: "zhang tao" <warmice@sina.com>
> To: <gcc@gcc.gnu.org>
> Date: Fri, 25 May 2001 08:01:42 +0800
> How can I tell GCC which registers in my architecture are
> reserved for register variables in the machine description file of
> it?
See Registers in the Porting manual. After you read it, try your hand
at doing a port, and seeing how it works. If you want to see how a
port does it without doing it yourself, try taking a look at any of
the port files in the compiler, and looking up the definitions defined
in that section in the port file.
> 05/25/2001
This information is redundant with the Date: header, which is more
informative and more complete. It is safe to leave it out.