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