PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx2-i32gatherps256-3.c
blob34b7b8d72fe52e4751ece7ebc71629e4ce552ecf
1 /* { dg-do compile } */
2 /* { dg-options "-mavx2 -O2" } */
3 /* { dg-final { scan-assembler "vgatherdps\[ \\t\]+\[^\n\]*ymm\[0-9\]\[^\n\]*ymm\[0-9\]\[^\n\]*ymm\[0-9\]" } } */
5 #include <immintrin.h>
7 __m256 x;
8 float *base;
9 __m256i idx;
11 void extern
12 avx2_test (void)
14 x = _mm256_mask_i32gather_ps (x, base, idx, x, 1);