This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]