This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH for sibcalls on i386
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: rth at redhat dot com (Richard Henderson)
- Cc: hp at bitrange dot com, gcc-patches at gcc dot gnu dot org
- Date: Mon, 30 Sep 2002 20:44:35 -2800 (EDT)
- Subject: Re: PATCH for sibcalls on i386
> Do you get a sibcall? try_tail_recursion does not rely on
No.
> the sibcall machinery, and is independent of it. It should
> not be shut off by FUNCTION_OK_FOR_SIBCALL.
The main difference between the 32-bit ports (e.g., hppa-linux)
and hppa64-hpux is that calls on hppa64-hpux always pass a pointer
to the first argument on on the stack (arg8) as one of the arguments.
Possibly, this is the reason that there is no sibcall.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)