2016-12-21 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx-vmovntpd-256-1.c
blobf17deafafc34c6aee9c4d1839e60504ee6125589
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 (double *p, __m256d s)
11 return _mm256_stream_pd (p, s);
14 static void
15 avx_test (void)
17 union256d u;
18 double e[4] __attribute__ ((aligned(32))) = {1,1,1,1};
20 u.x = _mm256_set_pd (2134.3343, 1234.635654, -13443.35, 43.35345);
21 test (e, u.x);
23 if (check_union256d (u, e))
24 abort ();