aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/pr59839.c
blob: dfb89456f9d10257dc58ba06dcc2186a2f92131d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* PR target/59839 */
/* { dg-do compile } */
/* { dg-options "-O0 -mavx2" } */

#include <x86intrin.h>

void
test (const float *x)
{
  __m256i i = _mm256_set1_epi32 (1);
  __m256 d = _mm256_i32gather_ps (x, i, 1);
}