In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes:
>In message <[EMAIL PROTECTED]> Marc Tar
>dif writes:
>: So why is %esp displaced by 16 bytes when only 8 bytes
>: are necessary (4 for $0 and 4 for $.LC0)? And couldn't
>: the compiler use a single instruction such as
>: subl $16,%esp or addl $-16,%esp? Are two instructions
>: used for pipelining purposes, where subl is synchro-
>: nised with the first pushl and addl with the second
>: pushl?
>
>gcc tries to align stack to 16 byte boundaries as a speed
>optiminzation.  Why it doesn't do this in one instruction is beyond
>me.

Kocking 16 bytes off the stack pointer won't put it any closer to a 
16 byte boundary.  

 
-- 
<a href="http://www.poohsticks.org/drew/">Home Page</a>
For those who do, no explanation is necessary.  
For those who don't, no explanation is possible.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to