ix86 qi/hi to si mode promoting patch.

Richard Henderson rth@cygnus.com
Tue Mar 14 00:18:00 GMT 2000


On Fri, Mar 10, 2000 at 12:02:19AM +0100, Jan Hubicka wrote:
> I will take a look how to implement this. It would be nice to make
> XFmode spilling of fp registers as the side effect too.
> Do you have some suggestions where to start?
> I was taking a look at this once, but failed to understand how does
> reload asks for the stack slots.

So did I, actually.  Reload asks for slots in alter_reg.  It seemed
simple enough to get it to allocate more memory.  Where I failed was
in convincing reload to use a different mode for the spill/fill.  I
would have thought this would have been possible to fix in
emit_reload_insns or one of its subroutines, but I failed to see how.


r~


More information about the Gcc-patches mailing list