This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: SH: use register names instead of numbers
- To: meissner at cygnus dot com (Michael Meissner)
- Subject: Re: SH: use register names instead of numbers
- From: Joern Rennecke <amylaar at redhat dot com>
- Date: Wed, 22 Nov 2000 21:48:43 +0000 (GMT)
- Cc: zackw at Stanford dot EDU (Zack Weinberg), amylaar at redhat dot com (Joern Rennecke), aoliva at redhat dot com (Alexandre Oliva), gcc-patches at gcc dot gnu dot org
> -m switch or an #ifdef of some sort. I guess I would rather see an import
> function (tell the generator that name will be defined and to treat it as a
> number) than a define_constants function. Another thought is to use
In order to du that, you would have to store a string inside of an rtl
slot that was made for a number. I.e. the gen* programs could no longer
share the rtl processing code with the compiler.