PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx512vl-vblendmpd-1.c
blobdcdb39c58e1fad46ca918325208a594a06ff80db
1 /* { dg-do compile } */
2 /* { dg-options "-mavx512vl -O2" } */
3 /* { dg-final { scan-assembler-times "(?:vblendmpd|vmovapd)\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
4 /* { dg-final { scan-assembler-times "(?:vblendmpd|vmovapd)\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
6 #include <immintrin.h>
8 volatile __m256d x;
9 volatile __m128d xx;
10 volatile __mmask8 m;
12 void extern
13 avx512vl_test (void)
15 x = _mm256_mask_blend_pd (m, x, x);
16 xx = _mm_mask_blend_pd (m, xx, xx);