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: MIPS patch for n32/n64 sibcalls


Richard Henderson <rth@redhat.com> writes:
> On Sat, Nov 29, 2003 at 04:32:36PM +0000, Richard Sandiford wrote:
> > Anyway, we're allowing lazy binding of sibcalls for n32 & n64.
> > That can't work because the stub needs access to the caller's $gp,
> > not the caller's caller's.
> 
> This should be prevented in TARGET_FUNCTION_OK_FOR_SIBCALL.

Why?  IMO, the start-up saving of lazy binding is far outweighed by the
performance improvement you get from using sibcalls.


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