[cfe-dev] Default stack alignment for x86 changed
Reid Kleckner
rnk at google.com
Thu Jan 15 09:54:57 PST 2015
On Thu, Jan 15, 2015 at 9:34 AM, palparni <palparni at gmail.com> wrote:
> I understand, so the change was made for Unix-based systems in mind.
> Unfortunately the win32 x86 ABI seems to require doubles to be 64-bit
> aligned. Could we perhaps keep the 8-byte alignment only for win32 targets?
>
The win32 stack only guarantees 4 byte alignment, so far as I know.
While MSVC aligns doubles to 8 byte boundaries when doing record layout, it
will not realign the stack to guarantee 8 byte alignment of double stack
variables.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150115/202daac1/attachment.html>
More information about the cfe-dev
mailing list