1/* { dg-do run } */
2/* { dg-require-effective-target avx } */
3/* { dg-options "-O2 -mavx" } */
4
5#include "avx-check.h"
6
7void static
8avx_test (void)
9{
10  union256i_d u;
11  int e [8] __attribute__ ((aligned (32))) = {0};
12
13  u.x = _mm256_set_epi32(23, 67, 53, 6, 4, 6, 85, 234);
14  _mm256_store_si256 ((__m256i *)e, u.x);
15
16  if (check_union256i_d (u, e))
17    abort ();
18}
19