https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94461
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 48182 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48182&action=edit gcc10-pr94461-wip.patch What I'm proposing is essentially this patch (+ the testcase of course). Or, instead of isa |= OPTION_MASK_ISA_MMX; we could if OPTION_MASK_ISA_MMX is set in bisa and not set in isa and TARGET_MMX_WITH_SSE is set clear OPTION_MASK_ISA_MMX and set OPTION_MASK_ISA_SSE2. The difference between that would be just in what we print as suggestion on what the builtin needs.