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 18:21:44 -0200
- Cc: gcc-patches at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <200011222015.eAMKFU104549@tantra.cygnus.co.uk>
On Nov 22, 2000, Joern Rennecke <amylaar@redhat.com> wrote:
>> > Are you saying that movsi matches
>> > (set (reg:SI r5) (unspec [(label_ref ...)] 1)) ?
>>
>> That's what I think I have seen in the dump file. But I'm not 100%
>> positive about that, since it was a couple of days ago, in a very busy
>> day :-)
> movsi and its assorted insn patterns have the predicate
> general_movsrc_operand for the source, This should reject any
> unspec.
But not a (const (unspec ...)), which is what we currently generate in
GOTaddr2picreg. This is fixed with the proposed patch.
--
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