[cfe-dev] Default stack alignment for x86 changed
Joerg Sonnenberger
joerg at britannica.bec.de
Thu Jan 15 08:42:03 PST 2015
On Thu, Jan 15, 2015 at 09:23:33AM -0700, palparni wrote:
> LLVM change 147888 a while back modified the alignment from 8
> to 4 without giving more concrete reasons for it.
The SysV ABI says it is 32bit. double itself has only 32bit alignment.
If there is any item on the stack that requires more, it will be
realigned automatically, but that comes with some cost, too, like an
additional register used.
Joerg
More information about the cfe-dev
mailing list