SH: use register names instead of numbers

Alexandre Oliva aoliva@redhat.com
Wed Nov 22 11:36:00 GMT 2000


On Nov 22, 2000, Joern Rennecke <amylaar@redhat.com> wrote:

>> 
>> (set (reg:SI r0) (unspec [(label_ref ...)] 1))
>> 
>> in
>> 
>> (set (reg:SI r5) ...)
>> 
>> and things would go down the hill from there.

> Well, if it does an invalid transformation, you have to stop it doing that.

The transformation isn't invalid because there is another patterns
that matches: movsi.

> Obfuscating rtl patterns is just papering over the problem.

Yes, indeed.  Suggestions?

-- 
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


More information about the Gcc-patches mailing list