diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/avx512pf-vgatherpf1dps-1.c')
-rw-r--r-- | gcc/testsuite/gcc.target/i386/avx512pf-vgatherpf1dps-1.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/i386/avx512pf-vgatherpf1dps-1.c b/gcc/testsuite/gcc.target/i386/avx512pf-vgatherpf1dps-1.c new file mode 100644 index 00000000000..6557afd1466 --- /dev/null +++ b/gcc/testsuite/gcc.target/i386/avx512pf-vgatherpf1dps-1.c @@ -0,0 +1,15 @@ +/* { dg-do compile } */ +/* { dg-options "-mavx512pf -O2" } */ +/* { dg-final { scan-assembler-times "vgatherpf1dps\[ \\t\]+\[^\n\]*\{%k\[1-7\]" 1 } } */ + +#include <immintrin.h> + +volatile __m512i idx; +volatile __mmask16 m16; +int *base; + +void extern +avx512pf_test (void) +{ + _mm512_mask_prefetch_i32gather_ps (idx, m16, base, 8, 1); +} |