This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Useless assembly
- From: Robert Dewar <dewar at gnat dot com>
- To: Sam Lauber <sam124 at operamail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 29 Nov 2004 23:23:31 -0500
- Subject: Re: Useless assembly
- References: <20041130024547.3A81223EF6B@ws5-4.us4.outblaze.com>
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.