This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Mindless ABI adherence
- To: "D. J. Bernstein" <djb at cr dot yp dot to>
- Subject: Re: Mindless ABI adherence
- From: Florian Weimer <fw at deneb dot enyo dot de>
- Date: Fri, 19 Oct 2001 17:30:39 +0200
- Cc: gcc-bugs at gcc dot gnu dot org
- References: <20011019040809.4210.qmail@cr.yp.to>
"D. J. Bernstein" <djb@cr.yp.to> writes:
> Similarly, even though the x86 ABI requires function arguments to be
> passed on the stack, it's usually quite a bit faster to pass arguments
> in registers. A small amount of work here would noticeably speed up a
> huge number of programs.
You can already do this using function attributes and/or command line
switches. Since the x86 has so few registers, it is not clear if
register passing is a win in all situations.