This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: SH: use register names instead of numbers


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]