2016-12-21 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx512f-i32scatterpd512-1.c
blob9a58364faa0766e339f42c91c47a90aafd1b9374
1 /* { dg-do compile } */
2 /* { dg-options "-mavx512f -O2" } */
3 /* { dg-final { scan-assembler-times "vscatterdpd\[ \\t\]+\[^\{\n\]*zmm\[0-9\]\[^\n\]*ymm\[0-9\]\[^\n\]*{%k\[1-7\]}(?:\n|\[ \\t\]+#)" 2 } } */
5 #include <immintrin.h>
7 volatile __m512d src;
8 volatile __m256i idx;
9 volatile __mmask8 m8;
10 double *addr;
12 void extern
13 avx512f_test (void)
15 _mm512_i32scatter_pd (addr, idx, src, 8);
16 _mm512_mask_i32scatter_pd (addr, m8, idx, src, 8);