c++: reduce unnecessary tree_common
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx512vl-vpandnq-1.c
blob9592dc160e0da3aaec53ba7ff81be67fe7a3bb8d
1 /* { dg-do compile } */
2 /* { dg-options "-mavx512vl -O2" } */
3 /* { dg-final { scan-assembler-times "vpandnq\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
4 /* { dg-final { scan-assembler-times "vpandnq\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
5 /* { dg-final { scan-assembler-times "vpandnq\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
6 /* { dg-final { scan-assembler-times "vpandnq\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
8 #include <immintrin.h>
10 volatile __m256i y;
11 volatile __m128i x;
12 volatile __mmask8 m;
14 void extern
15 avx512vl_test (void)
17 y = _mm256_mask_andnot_epi64 (y, m, y, y);
18 y = _mm256_maskz_andnot_epi64 (m, y, y);
20 x = _mm_mask_andnot_epi64 (x, m, x, x);
21 x = _mm_maskz_andnot_epi64 (m, x, x);