https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105000
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by H.J. Lu <h...@gcc.gnu.org>: https://gcc.gnu.org/g:f45603f39ba167dd0ea1b002c96ddccbfe2b4b2f commit r11-9686-gf45603f39ba167dd0ea1b002c96ddccbfe2b4b2f Author: H.J. Lu <hjl.to...@gmail.com> Date: Mon Mar 21 11:45:59 2022 -0700 x86: Disable SSE in ISA2 for -mgeneral-regs-only Replace OPTION_MASK_ISA2_AVX512F_UNSET with OPTION_MASK_ISA2_SSE_UNSET in OPTION_MASK_ISA2_GENERAL_REGS_ONLY_UNSET to disable SSE, AVX and AVX512 ISAs. gcc/ PR target/105000 * common/config/i386/i386-common.c (OPTION_MASK_ISA2_GENERAL_REGS_ONLY_UNSET): Replace OPTION_MASK_ISA2_AVX512F_UNSET with OPTION_MASK_ISA2_SSE_UNSET. gcc/testsuite/ PR target/105000 * gcc.target/i386/pr105000-1.c: New test. * gcc.target/i386/pr105000-2.c: Likewise. * gcc.target/i386/pr105000-3.c: Likewise. (cherry picked from commit e8b6afa98f0a390c955a089a3d61fdd24f4e1d3a)