c++: reduce unnecessary tree_common
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx512vl-vbroadcastsd-1.c
blob6571f2b59e919774ec15df9938f8f6d08a16b06d
1 /* { dg-do compile } */
2 /* { dg-options "-mavx512vl -O2" } */
3 /* { dg-final { scan-assembler-times "vbroadcastsd\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
4 /* { dg-final { scan-assembler-times "vbroadcastsd\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
5 /* { dg-final { scan-assembler-times "vbroadcastsd\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
7 #include <immintrin.h>
9 volatile __m256d x;
10 volatile __m128d y;
11 volatile __mmask8 m;
13 void extern
14 avx512vl_test (void)
16 x = _mm256_broadcastsd_pd (y);
17 x = _mm256_mask_broadcastsd_pd (x, m, y);
18 x = _mm256_maskz_broadcastsd_pd (m, y);