Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx512vl-i32scatterpd-1.c
blob432b59b8aa778bd6349d6c2f910bca0d2b1d29cd
1 /* { dg-do compile } */
2 /* { dg-options "-mavx512vl -O2" } */
3 /* { dg-final { scan-assembler-times "vscatterdpd\[ \\t\]+\[^\{\n\]*ymm\[0-9\]\[^\n\]*xmm\[0-9\]\[^\n\]*{%k\[1-7\]}(?:\n|\[ \\t\]+#)" 2 } } */
4 /* { dg-final { scan-assembler-times "vscatterdpd\[ \\t\]+\[^\{\n\]*xmm\[0-9\]\[^\n\]*xmm\[0-9\]\[^\n\]*{%k\[1-7\]}(?:\n|\[ \\t\]+#)" 2 } } */
6 #include <immintrin.h>
8 volatile __m256d src1;
9 volatile __m128d src2;
10 volatile __m128i idx;
11 volatile __mmask8 m8;
12 double *addr;
14 void extern
15 avx512vl_test (void)
17 _mm256_i32scatter_pd (addr, idx, src1, 8);
18 _mm256_mask_i32scatter_pd (addr, m8, idx, src1, 8);
20 _mm_i32scatter_pd (addr, idx, src2, 8);
21 _mm_mask_i32scatter_pd (addr, m8, idx, src2, 8);