https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110260

Zebediah Figura <zfigura at codeweavers dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zfigura at codeweavers dot com

--- Comment #9 from Zebediah Figura <zfigura at codeweavers dot com> ---
Wine developer here—FWIW, I think these may ultimately be separate issues.

The problem we were seeing with Wine is that, on the i386-w64-mingw32 target,
the stack alignment is supposed to be assumed to be only 4 (versus 16 on ELF or
x86_64 targets), and so any function using SSE/AVX instructions needs to
manually align the stack. In the cases where Wine was crashing, gcc was
generating vmovdqa instructions without actually aligning the stack first,
whereas without the -march=znver4 flag it apparently would align the stack and
then generate SSE movdqa.

Reply via email to