This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Work in progress: "Super Sib Calls"; opinions sought
- From: Fergus Henderson <fjh at cs dot mu dot oz dot au>
- To: law at redhat dot com
- Cc: Andreas Bauer <baueran at in dot tum dot de>, gcc at gcc dot gnu dot org, pizka at in dot tum dot de,jason dot ozolins at anu dot edu dot au
- Date: Wed, 11 Sep 2002 04:06:11 +1000
- Subject: Re: Work in progress: "Super Sib Calls"; opinions sought
- References: <20020910160854.A4234@royal.anu.edu.au> <200209101704.g8AH4ou10563@porcupine.slc.redhat.com>
On 10-Sep-2002, Jeff Law <law@porcupine.slc.redhat.com> wrote:
> Alpha, HP-PA, mn103, mn102, h8300 and many others. Most targets which pass
> parameters in registers use the same registers for incoming and outgoing
> arguments.
Also x86, if you use __attribute__((regparm(...))).
Which is often a good idea, if you can, since it improves performance;
I got about a 3-4% speedup for the Mercury compiler by using regparm(3).
--
Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.