Reload patch for PA call rewrite.

John David Anglin dave@hiauly1.hia.nrc.ca
Fri Oct 25 17:20:00 GMT 2002


> On Fri, Oct 25, 2002 at 07:53:24PM -0400, John David Anglin wrote:
> > Why do I need a spill lot for a fixed register?
> 
> Because it's call-saved, and you have to save and restore it somewhere.  

This is done in the prologue after reload along with all the other
call-saved registers.  The frame size isn't determined until then.
We can't eliminate the arg pointer.  This seems to work fine for
the elimination of the frame pointer.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)



More information about the Gcc-patches mailing list