This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: alpha himode reload problem
On Wed, Oct 22, 1997 at 07:01:01PM -0700, Jim Wilson wrote:
> Another way to fix this is to modify expand_asm_operands to fix the MEM
> during RTL generation. This seems more elegant.
Blah. Outsmarted by combine. You can see the results just by changing
the last line of the example to
{ unsigned short tmp = x->x;
asm volatile ("%0" : : "r"(tmp)); }
Everything gets expand out nicely, but then combine puts it all back
together again. I suppose we could add more code there, but the .md
solution is starting to look more attractive...
r~