This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ACCUMULATE_OUTGOING_ARGS and the i386
- To: John Wehle <john at feith dot com>
- Subject: Re: ACCUMULATE_OUTGOING_ARGS and the i386
- From: Bernd Schmidt <crux at pool dot informatik dot rwth-aachen dot de>
- Date: Mon, 19 Oct 1998 10:49:04 +0200 (MET DST)
- cc: egcs at cygnus dot com
> 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