This is the mail archive of the gcc@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: Work in progress: "Super Sib Calls"; opinions sought


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.


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