SH: use register names instead of numbers

Joern Rennecke amylaar@redhat.com
Wed Nov 22 11:43: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.

Are you saying that movsi matches
(set (reg:SI r5) (unspec [(label_ref ...)] 1)) ?


More information about the Gcc-patches mailing list