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: Enable sibcalls on hppa-unknown-linux-gnu


In message <200210031617.g93GHHC4003770@hiauly1.hia.nrc.ca>, "John David Anglin
" writes:
 >Maybe the solution to this is to use a different register as
 >the internal arg pointer and copy GR 29 to it in the function
 >prologue.  I think this would also facilitate elimination of
 >the arg pointer.
Note that when the incoming argument pointer is a call-clobbered hard
register (like %r29 for PA64) generic parts of the compiler will arrange
for %r29 to be copied into a pseudo and that pseudo should be used for
incoming argument pointer references within the function.

jeff



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