This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: investigation of tail calls on mainline
- From: Richard Henderson <rth at redhat dot com>
- To: Brad Lucier <lucier at math dot purdue dot edu>
- Cc: gcc at gcc dot gnu dot org, feeley at iro dot umontreal dot ca, fjh at cs dot mu dot oz dot au
- Date: Thu, 12 Dec 2002 12:26:50 -0800
- Subject: Re: investigation of tail calls on mainline
- References: <200212121523.gBCFNrr09503@banach.math.purdue.edu>
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.
r~