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]
Other format: [Raw text]

Re: Useless assembly


Sam Lauber wrote:
What's the stack have to do with it? I thought I had a 32-bit i686.
Why would we have to align the stack to a 16-bit boundry?

It's 16-byte alignment, and the code you eliminated was performing many critical functions including this alignment, which is required for maximum efficiency.

> And why would there have to be a stack at all?

That's a peculiar question, the stack is fundamental to the calling
sequence and the call instruction.



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