testsuite/
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx512f-vexpandps-1.c
blobfcf87642b403f91605cfcda653038c49b5986225
1 /* { dg-do compile } */
2 /* { dg-options "-mavx512f -O2" } */
3 /* { dg-final { scan-assembler-times "vexpandps\[ \\t\]+\[^\n\]*%zmm\[0-9\]\{%k\[1-7\]\}\[^\{\]" 2 } } */
4 /* { dg-final { scan-assembler-times "vexpandps\[ \\t\]+\[^\n\]*%zmm\[0-9\]\{%k\[1-7\]\}\{z\}" 2 } } */
6 #include <immintrin.h>
8 float *p;
9 volatile __m512 x;
10 volatile __mmask16 m;
12 void extern
13 avx512f_test (void)
15 x = _mm512_mask_expand_ps (x, m, x);
16 x = _mm512_maskz_expand_ps (m, x);
18 x = _mm512_mask_expandloadu_ps (x, m, p);
19 x = _mm512_maskz_expandloadu_ps (m, p);