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