Merge from trunk
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr59839.c
blobdfb89456f9d10257dc58ba06dcc2186a2f92131d
1 /* PR target/59839 */
2 /* { dg-do compile } */
3 /* { dg-options "-O0 -mavx2" } */
5 #include <x86intrin.h>
7 void
8 test (const float *x)
10 __m256i i = _mm256_set1_epi32 (1);
11 __m256 d = _mm256_i32gather_ps (x, i, 1);