PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx512f-vpermi2ps-1.c
blob7dbdda9e709b02fc8d498b5a6b0ac6fe5180185b
1 /* { dg-do compile } */
2 /* { dg-options "-mavx512f -O2" } */
3 /* { dg-final { scan-assembler-times "vpermi2ps\[ \\t\]+\[^\{\n\]*%zmm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
5 #include <immintrin.h>
7 volatile __m512 x;
8 volatile __m512i y;
9 volatile __mmask16 m;
11 void extern
12 avx512f_test (void)
14 x = _mm512_mask2_permutex2var_ps (x, y, m, x);