ACCUMULATE_OUTGOING_ARGS and the i386

Bernd Schmidt crux@pool.informatik.rwth-aachen.de
Mon Oct 19 02:43:00 GMT 1998


> 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




More information about the Gcc mailing list