[Bug target/54412] minimal 32-byte stack alignment with -mavx on 64-bit Windows
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Apr 1 17:59:42 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54412
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #36 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
That patch is certainly unacceptable, not only because it affects non-Windows
too, but even on Windows it will unnecessarily pessimize e.g. accesses to data
sections or heap that can be aligned.
If the Windows ABI doesn't align stack or not as much as gcc assumes, then a
fix would ensure only automatic vars on Windows are accessed always using
unaligned vector instructions provided dynamic stack realignment is not an
option.
More information about the Gcc-bugs
mailing list