This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Half-baked i386 stack alignment thoughts
- To: John Wehle <john at feith dot com>
- Subject: Re: Half-baked i386 stack alignment thoughts
- From: Richard Henderson <rth at cygnus dot com>
- Date: Thu, 2 Nov 2000 21:54:21 -0800
- Cc: gcc at gcc dot gnu dot org
- References: <200011030000.TAA09190@jwlab.FEITH.COM>
On Thu, Nov 02, 2000 at 07:00:39PM -0500, John Wehle wrote:
> What I propose is making -maccumulate-outgoing-args the default
> and use push to place the arguments on the stack. I.e.:
>
> ...
> addl $8, %esp
> pushl %eax
> pushl %eax
> call subr
> movl %eax, %ebx
It's an interesting idea, though I doubt you'll be able to
do it with the accumulate-outgoing-args logic.
r~