1 /* { dg-do compile } */ 2 /* { dg-options "-mavx512pf -O2" } */ 3 /* { dg-final { scan-assembler-times "vscatterpf1qps\[ \\t\]+\[^\{\n\]*%zmm\[0-9\]+\[^\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)12avx512pf_test (void) 13 { 14 _mm512_prefetch_i64scatter_ps (base, idx, 8, _MM_HINT_T1); 15 _mm512_mask_prefetch_i64scatter_ps (base, m8, idx, 8, _MM_HINT_ET1); 16 } 17