This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Reload patch for PA call rewrite.
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: rth at redhat dot com (Richard Henderson)
- Cc: gcc-patches at gcc dot gnu dot org, law at redhat dot com
- Date: Fri, 25 Oct 2002 20:20:20 -0400 (EDT)
- Subject: 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)