blob: c1781979a05a3e32d42617703046021c29c0708f [file] [log] [blame]
/* { dg-do run } */
/* { dg-require-effective-target avx } */
/* { dg-options "-O2 -mavx" } */
#include "avx-check.h"
static void
__attribute__((noinline, unused))
test (float *e, __m256 a)
{
return _mm256_storeu_ps (e, a);
}
void static
avx_test (void)
{
union256 u;
float e [8] = {0.0};
u.x = _mm256_set_ps (1.17, 24567.16, 3.15, 4567.14, 5.13, 65467.12, 788.11, 8.9);
test (e, u.x);
if (check_union256 (u, e))
abort ();
}