This is the mail archive of the gcc-bugs@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]

Re: Mindless ABI adherence


"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.


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