/* PR target/85832 */ /* { dg-do compile } */ /* { dg-options "-O2 -mavx512vl -mavx512bw -masm=att" } */ /* { dg-final { scan-assembler-times {\mvptestnmb\M} 2 } } */ /* { dg-final { scan-assembler-times {\mvptestnmw\M} 2 } } */ #include int f1 (__m256i x) { return _mm256_cmpeq_epi8_mask (x, _mm256_setzero_si256 ()); } int f2 (__m256i x) { return _mm256_cmpeq_epi16_mask (x, _mm256_setzero_si256 ()); } int f3 (__m128i x) { return _mm_cmpeq_epi8_mask (x, _mm_setzero_si128 ()); } int f4 (__m128i x) { return _mm_cmpeq_epi16_mask (x, _mm_setzero_si128 ()); }