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: Half-baked i386 stack alignment thoughts


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~

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