| 1 |
/* { dg-do run } */ |
| 2 |
/* { dg-options "-mavx512f -O2" } */ |
| 3 |
/* { dg-require-effective-target avx512f } */ |
| 4 |
|
| 5 |
#include "avx512f-check.h" |
| 6 |
|
| 7 |
void static |
| 8 |
avx512f_test (void) |
| 9 |
{ |
| 10 |
union512 s; |
| 11 |
float res[16] __attribute__((aligned (64))); |
| 12 |
|
| 13 |
s.x = _mm512_set_ps (-39578.467285, 4294967295.1, -7856.342941, 0, |
| 14 |
85632.783567, 1234.9999, 47563.234215, -1.07, |
| 15 |
3453.65743, -1234.9999, 67.234, -1, |
| 16 |
0.336624, 34534543, 4345.234234, -1.07234234); |
| 17 |
|
| 18 |
_mm512_stream_ps (res, s.x); |
| 19 |
|
| 20 |
if (check_union512 (s, res)) |
| 21 |
abort (); |
| 22 |
} |