Initial support for AVX-512{VL,BW,DQ}
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx512vl-vblendmps-1.c
bloba43d477365148bcf31ae315fe60df67614970d8e
1 /* { dg-do compile } */
2 /* { dg-options "-mavx512vl -O2" } */
3 /* { dg-final { scan-assembler "(vblendmps|vmovaps)\[ \\t\]+\[^\n\]*%ymm\[0-9\]\{%k\[1-7\]\}" } } */
4 /* { dg-final { scan-assembler "(vblendmps|vmovaps)\[ \\t\]+\[^\n\]*%xmm\[0-9\]\{%k\[1-7\]\}" } } */
6 #include <immintrin.h>
8 volatile __m256 x;
9 volatile __m128 xx;
10 volatile __mmask8 m;
12 void extern
13 avx512vl_test (void)
15 x = _mm256_mask_blend_ps (m, x, x);
16 xx = _mm_mask_blend_ps (m, xx, xx);