1 /* { dg-do compile } */
2 /* { dg-options "-mavx512vl -O2" } */
3 /* { dg-final { scan-assembler-times "vexpandps\[ \\t\]+\[^\n\]*%ymm\[0-9\]\{%k\[1-7\]\}\[^\{\]" 2 } } */
4 /* { dg-final { scan-assembler-times "vexpandps\[ \\t\]+\[^\n\]*%xmm\[0-9\]\{%k\[1-7\]\}\[^\{\]" 2 } } */
5 /* { dg-final { scan-assembler-times "vexpandps\[ \\t\]+\[^\n\]*%ymm\[0-9\]\{%k\[1-7\]\}\{z\}" 2 } } */
6 /* { dg-final { scan-assembler-times "vexpandps\[ \\t\]+\[^\n\]*%xmm\[0-9\]\{%k\[1-7\]\}\{z\}" 2 } } */
18 x1
= _mm256_mask_expand_ps (x1
, m
, x1
);
19 x2
= _mm_mask_expand_ps (x2
, m
, x2
);
21 x1
= _mm256_maskz_expand_ps (m
, x1
);
22 x2
= _mm_maskz_expand_ps (m
, x2
);
24 x1
= _mm256_mask_expandloadu_ps (x1
, m
, p
);
25 x2
= _mm_mask_expandloadu_ps (x2
, m
, p
);
27 x1
= _mm256_maskz_expandloadu_ps (m
, p
);
28 x2
= _mm_maskz_expandloadu_ps (m
, p
);