https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100445
--- Comment #10 from Uroš Bizjak <ubizjak at gmail dot com> --- Following patch fixes the failures: --cut here-- diff --git a/gcc/config/i386/i386-expand.c b/gcc/config/i386/i386-expand.c index 4dfe7d6c282..61b2f921f41 100644 --- a/gcc/config/i386/i386-expand.c +++ b/gcc/config/i386/i386-expand.c @@ -3490,7 +3490,11 @@ static bool ix86_use_mask_cmp_p (machine_mode mode, machine_mode cmp_mode, rtx op_true, rtx op_false) { - if (GET_MODE_SIZE (mode) == 64) + int vector_size = GET_MODE_SIZE (mode); + + if (vector_size < 16) + return false; + else if (vector_size == 64) return true; /* When op_true is NULL, op_false must be NULL, or vice versa. */ --cut here-- But perhaps 64bit V2SI, V4HI and V8QI vpcmp insns can be emulated via their 128bit versions?