gcc/
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx512pf-vscatterpf1qpd-1.c
blob64d7dfa95f9862e4f7bca8121d3dec738d3f9ddb
1 /* { dg-do compile } */
2 /* { dg-options "-mavx512pf -O2" } */
3 /* { dg-final { scan-assembler-times "vscatterpf1qpd\[ \\t\]+\[^\n\]*%zmm\[0-9\]" 2 } } */
4 /* { dg-final { scan-assembler-times "vscatterpf1qpd\[ \\t\]+\[^\n\]*\{%k\[1-7\]" 1 } } */
6 #include <immintrin.h>
8 volatile __m512i idx;
9 volatile __mmask8 m8;
10 int *base;
12 void extern
13 avx512pf_test (void)
15 _mm512_prefetch_i64scatter_pd (base, idx, 8, 1);
16 _mm512_mask_prefetch_i64scatter_pd (base, m8, idx, 8, 1);