Stop only if there aren't any usable algorithms
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx2-i64gatherps256-3.c
blobf05e4a208c12cacbd561396136ea5f1c153073f3
1 /* { dg-do compile } */
2 /* { dg-options "-mavx2 -O2" } */
3 /* { dg-final { scan-assembler "vgatherqps\[ \\t\]+\[^\n\]*xmm\[0-9\]\[^\n\]*ymm\[0-9\]\[^\n\]*xmm\[0-9\]" } } */
5 #include <immintrin.h>
7 __m128 x;
8 float *base;
9 __m256i idx;
11 void extern
12 avx2_test (void)
14 x = _mm256_mask_i64gather_ps (x, base, idx, x, 1);