https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81646
Bug ID: 81646
Summary: i386 SSE2 compilation mode which preserves psABI stack
alignment without requiring it
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: fw at gcc dot gnu.org
Target Milestone: ---
Target: i386
It would be helpful to have an i386 compilation mode which preserves the
16-byte stack alignment (if it is aligned), supports SSE2, but does not require
stack alignment.
Currently, it is almost impossible to enable SSE2 for system libraries because
too much code is compiled with four byte stack alignment (as suggested in the
GCC manual, among other places). Having a stack-conservative SSE2 mode would
change that.