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: Joern Rennecke <amylaar at redhat dot com>
- Subject: Re: SH: use register names instead of numbers
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 22 Nov 2000 20:10:32 -0200
- Cc: gcc-patches at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <200011222126.eAMLQjb13795@tantra.cygnus.co.uk>
On Nov 22, 2000, Joern Rennecke <amylaar@redhat.com> wrote:
>> && GET_MODE (SET_DEST (pat)) != QImode
>> - && CONSTANT_P (SET_SRC (pat))
>> + && (CONSTANT_P (SET_SRC (pat))
> Add a comment here saying that is to recognize the mova_const pattern.
Ok, will do.
>> + || (GET_CODE (SET_SRC (pat)) == UNSPEC
>> + && XINT (SET_SRC (pat), 1) == 1
>> + && GET_CODE (XVECEXP (SET_SRC (pat), 0, 0)) == CONST))
> With that change, it's OK to install.
I'm finishing to convert it to the post-register-naming, that also
includes unspec-naming. So I'll post it again afterwards.
> Eventually, I'd like to see the assorted literal constants used in UNSPEC
> to be replaced with symbolic constants
Got the patch, will post it momentarily.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me