PATCH for sibcalls on i386
John David Anglin
dave@hiauly1.hia.nrc.ca
Mon Sep 30 21:03:00 GMT 2002
> > 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.
This appears to be the reason why we don't get recursive tail calls
on hppa64-hpux. sequence_uses_addressof returns nonzero because
current_function_internal_arg_pointer is found. This causes
no_sibcalls_this_function to be set. Thus, I think that all the
sibcall tests need to be xfailed for this target.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
More information about the Gcc-patches
mailing list