investigation of tail calls on mainline

Andreas Bauer baueran@in.tum.de
Thu Dec 12 13:39:00 GMT 2002


On Thu, Dec 12, 2002 at 12:26:50PM -0800, Richard Henderson wrote:
> On Thu, Dec 12, 2002 at 10:23:53AM -0500, Brad Lucier wrote:
> > 	call	%g2, 0
> > 	mov	1, %g3
> > 	ret
> > 	restore %g0, %o0, %o0
> 
> At the moment that this is only going to work on x86, and
> only on basic-improvements-branch.  It's certainly possible
> to implement for sparc though.

I'm planning to pick up work on porting this mechanism together with
the help offered by Robert Stone.

Cheers,
Andi.



More information about the Gcc mailing list