* g++.dg/other/i386-2.C (dg-options): Add -mavx512pf.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx2-i64gatherpd256-3.c
blob505722a8a79c2b15ca4ba9d5e62b11f9904891db
1 /* { dg-do compile } */
2 /* { dg-options "-mavx2 -O2" } */
3 /* { dg-final { scan-assembler "vgatherqpd\[ \\t\]+\[^\n\]*ymm\[0-9\]\[^\n\]*ymm\[0-9\]\[^\n\]*ymm\[0-9\]" } } */
5 #include <immintrin.h>
7 __m256d x;
8 double *base;
9 __m256i idx;
11 void extern
12 avx2_test (void)
14 x = _mm256_mask_i64gather_pd (x, base, idx, x, 1);