PR target/80969 - Fix ICE with -mabi=ms -mavx512f, reduce wasted space when realignin...
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx512pf-vscatterpf1qpd-1.c
blob3ae16cd2e1971de0b2f350bc2d7ac5737370761a
1 /* { dg-do compile } */
2 /* { dg-options "-mavx512pf -O2" } */
3 /* { dg-final { scan-assembler-times "vscatterpf1qpd\[ \\t\]+\[^\{\n\]*%zmm\[0-9\]+\[^\n\]*\\)\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 2 } } */
5 #include <immintrin.h>
7 volatile __m512i idx;
8 volatile __mmask8 m8;
9 int *base;
11 void extern
12 avx512pf_test (void)
14 _mm512_prefetch_i64scatter_pd (base, idx, 8, _MM_HINT_T1);
15 _mm512_mask_prefetch_i64scatter_pd (base, m8, idx, 8, _MM_HINT_ET1);