https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98849
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> --- ./cc1 -quiet -nostdinc -O3 -mcpu=iwmmxt pr98849-2.c -fdump-tree-all-folding -mfpu=neon cc1: error: iWMMXt and NEON are incompatible So I think TARGET_NEON && TARGET_REALLY_IWMMXT is never true. Don't know if TARGET_HAVE_MVE && TARGET_REALLY_IWMMXT is similarly never true, but I'd guess so. So perhaps just add && !TARGET_REALLY_IWMMXT to the two conditions. It is also unclear why you call the pattern mve_* when it is used by both neon and mve.