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]

Re: ACCUMULATE_OUTGOING_ARGS and the i386



> What are the tradeoffs involved in ACCUMULATE_OUTGOING_ARGS?  Why
> would I not want to implement it for the i386?  Does it impact debugging?
> Basically it looks like it could be a good thing, however I want
> to make sure I'm not being naive. :-)

I experimented with it once, mostly because the AMD K6 optimization manual
said that pushing function args should be implemented by subtracting
from the stack pointer and then using mov insns to set the arguments.
Unfortunately, it didn't seem to be a win in the benchmarks I tried - most
likely because the code size increased quite a bit.

Bernd



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