This is the mail archive of the gcc-patches@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: ix86 qi/hi to si mode promoting patch.


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~

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