SH: use register names instead of numbers

Alexandre Oliva aoliva@redhat.com
Wed Nov 22 10:49:00 GMT 2000


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

>> Register renumbering was changing the mova-to-be expanded from
>> GOTaddr2picreg into an arbitrary movsi.  Not good.

> I don't understand what kind of problem you are talking about.  Did your
> sed script attack some piece of the code?

:-)

Nope.  It's just that register renaming transformed


(set (reg:SI r0) (unspec [(label_ref ...)] 1))

in

(set (reg:SI r5) ...)

and things would go down the hill from there.

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