1 /* { dg-do compile } */
2 /* { dg-options "-mavx512pf -O2" } */
3 /* { dg-final { scan-assembler-times "vgatherpf1qpd\[ \\t\]+\[^\{\n\]*\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 2 } } */
4 
5 #include <immintrin.h>
6 
7 volatile __m512i idx;
8 volatile __mmask8 m8;
9 int *base;
10 
11 void extern
avx512pf_test(void)12 avx512pf_test (void)
13 {
14   _mm512_prefetch_i64gather_pd (idx, base, 8, _MM_HINT_T1);
15   _mm512_mask_prefetch_i64gather_pd (idx, m8, base, 8, _MM_HINT_T1);
16 }
17