2016-12-21 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx512pf-vscatterpf0dpd-1.c
blob5a153ea3d4cdf340512110048e0813a14479f215
1 /* { dg-do compile } */
2 /* { dg-options "-mavx512pf -O2" } */
3 /* { dg-final { scan-assembler-times "vscatterpf0dpd\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\[^\n\]*\\)\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 2 } } */
4 #include <immintrin.h>
6 volatile __m256i idx;
7 volatile __mmask8 m8;
8 void *base;
10 void extern
11 avx512pf_test (void)
13 _mm512_prefetch_i32scatter_pd (base, idx, 8, _MM_HINT_T0);
14 _mm512_mask_prefetch_i32scatter_pd (base, m8, idx, 8, _MM_HINT_ET0);