blob: 04c367ca3f0f84db740a717876a4f00955f5b4bb [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-mavx512pf -O2" } */
/* { dg-final { scan-assembler-times "vscatterpf1dpd\[ \\t\]+\[^\n\]*%ymm\[0-9\]" 2 } } */
/* { dg-final { scan-assembler-times "vscatterpf1dpd\[ \\t\]+\[^\n\]*\{%k\[1-7\]" 1 } } */
#include <immintrin.h>
volatile __m256i idx;
volatile __mmask8 m8;
void *base;
void extern
avx512pf_test (void)
{
_mm512_prefetch_i32scatter_pd (base, idx, 8, _MM_HINT_T1);
_mm512_mask_prefetch_i32scatter_pd (base, m8, idx, 8, _MM_HINT_ET1);
}