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]
Other format: [Raw text]

Re: Reload patch for PA call rewrite.


> 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)


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