This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PIC_OFFSET_TABLE_SAVE_RTX in large stack frame
- To: rth at redhat dot com (Richard Henderson)
- Subject: Re: PIC_OFFSET_TABLE_SAVE_RTX in large stack frame
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Date: Sun, 28 Jan 2001 13:24:46 -0500 (EST)
- Cc: law at redhat dot com, alan at linuxcare dot com dot au, gcc-patches at gcc dot gnu dot org
>
> On Sat, Jan 27, 2001 at 04:42:49PM -0500, John David Anglin wrote:
> > * pa.md (call, call_value, sibcall, sibcall_value): Save the pic offset
> > table register at the beginning of the function after the prologue.
>
> Anytime you replicate one piece of code 4 times, chances
> are it should be a function.
Agreed but this is not the only code that is replicated in the call expanders.
Possibly, the four call expanders should be merged into a function.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)