alpha himode reload problem

Richard Henderson rth@cygnus.com
Thu Oct 23 23:41:00 GMT 1997


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~



More information about the Gcc mailing list