summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/avx512pf-vgatherpf0qps-1.c
blob: 9501adf74e9ea861b31135b63651c99f90285f2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do compile } */
/* { dg-options "-mavx512pf -O2" } */
/* { dg-final { scan-assembler-times "vgatherpf0qps\[ \\t\]+\[^\n\]*\{%k\[1-7\]" 1 } } */

#include <immintrin.h>

volatile __m512i idx;
volatile __mmask8 m8;
int *base;

void extern
avx512pf_test (void)
{
  _mm512_mask_prefetch_i64gather_ps (idx, m8, base, 8, 0);
}