patch: alpha haifa abort
Jeffrey A Law
law@cygnus.com
Sun Jan 4 15:38:00 GMT 1998
In message < 199801042302.SAA24792@jfc. >you write:
>
> > As an asside, anyone know of a way I might be able to protect
> > asm blocks from interblock scheduling? Not critical, but it
> > would happen to be better in this case.
>
> Don't think small. What you really want in this case is a gcc extension
> to handle byte swapping. I know the Linux hackers will be upset at a lost
> chance to use gcc's asm extension, but it's a feature I've wanted for
> years.
There was talk a few years ago about adding it as a builtin. I don't see a
reason why we couldn't add some byte swapping support.
> Most of it isn't hard to implement; one tricky problem is reload. Reload
> assumes that it is always good to move a value into a register. POWER and
> SPARC v9 have byte-swapping load instructions but no corresponding
> register-register operations. These instructions also have limited
> addressing.
Yes, this aspect of reload is problematical.
jeff
More information about the Gcc
mailing list