On Thu, 14 Dec 2000, Iain Templeton wrote:
> On Wed, 13 Dec 2000, Alfred Perlstein wrote:
> 
> >         subl $8,%esp
> >         addl $-8,%esp
> >         pushl $0
> >         pushl $.LC0
> >         call open
> > 
> > why the subl then addl?
> > 
> Well, as a thoroughly rough guess, the subl is probably to create space
> on the stack for the args, and the addl is to align the stack to a 16
> byte address?
> 
Perhaps, but no matter the degree of optimisation, the
16 byte of space is performed in two instructions. This
leads me to believe is it most likely a pipelining issue
for the following pushl instructions. As for subl'ing and
addl'ing 8 bytes instead of 4, as required by each pushl,
that can very well be an aligning issue which would seem
to make more sense for the x86.




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

Reply via email to