Merge from mainline (165734:167278).
[official-gcc/graphite-test-results.git] / gcc / testsuite / gcc.target / i386 / avx-vmovntdq-256-1.c
blob5caf34e6da0401a77374465ec74b8e31c535af19
1 /* { dg-do run } */
2 /* { dg-require-effective-target avx } */
3 /* { dg-options "-O2 -mavx" } */
5 #include "avx-check.h"
7 static void
8 __attribute__((noinline))
9 test (__m256i *p, __m256i s)
11 return _mm256_stream_si256 (p, s);
14 static void
15 avx_test (void)
17 union256i_d u;
18 int e[8] __attribute__ ((aligned(32))) = {1,1,1,1,1,1,1,1};
20 u.x = _mm256_set_epi32 (2434, 6845, 3789, 4683,
21 4623, 2236, 8295, 1084);
23 test ((__m256i *)e, u.x);
25 if (check_union256i_d (u, e))
26 abort ();