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: [PATCH/RFC] PR target/15130 SH: A tail call optimization


Andrew Pinski <pinskia@physics.uc.edu> wrote:
> On May 12, 2004, at 10:29, Joern Rennecke wrote:
> 
> >> 	* config/sh/sh-protos.h (sh_expand_epilogue): Change prototype.
> >> 	* config/sh/sh.c (output_stack_adjust): Generate a special
> >> 	push/pop sequence when failing to get a temporary register for
> >> 	non SHmedia epilogue.
> >> 	(sh_expand_epilogue): Add an argument to show whether it's for
> >> 	sibcall or not.  Take the sibcall epilogue into account.
> >> 	(sh_need_epilogue): Call sh_expand_epilogue with 0.
> >> 	* config/sh/sh.md (sibcall_epilogue): Call sh_expand_epilogue
> >> 	with 1.
> >> 	(epilogue): Call sh_expand_epilogue with 0.
> >
> > OK.
> 
> But do not apply it right now as the mainline is frozen.

It's a patch for 3.3.  I should be more explicit about it,
sorry.

Regards,
	kaz


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