[Bug 216563] lang/gcc5: lang/gcc: stack alignment insufficient on i386 for SSE2 code.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun May 12 07:50:26 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216563

--- Comment #2 from Matthias Andree <mandree at FreeBSD.org> ---
Wow. The original bug reports are 10 years old.  You could've thought this has
been fixed long since.

The interesting part is that the affected code line per se deals with an array
of double values, so that should be happy with 4-byte aligned stacks, but some
part of the code employs SSE2 code to initialize the array and that
copy-initial-values-code requires 16-byte alignment. Something in the compiler
is inconsistent. Either it needs to figure it can't rely on the alignment of
the stack - then it cannot use SSE2 instructions, or, if it wants to use SSE2
instructions, it needs to waste 4...12 bytes but make realignment automatic.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-toolchain mailing list