gcc/testsuite/gcc.target/i386/avx-vmovdqu-256-1.c
raw| 1 | /* { dg-do run } */ |
| 2 | /* { dg-require-effective-target avx } */ |
| 3 | /* { dg-options "-O2 -mavx" } */ |
| 4 | |
| 5 | #include "avx-check.h" |
| 6 | |
| 7 | void static |
| 8 | avx_test (void) |
| 9 | { |
| 10 | union256i_d u; |
| 11 | int e [8] = {23, 67, 53, 6, 4, 6, 85, 234}; |
| 12 | |
| 13 | u.x = _mm256_loadu_si256 ((__m256i *) e); |
| 14 | |
| 15 | if (check_union256i_d (u, e)) |
| 16 | abort (); |
| 17 | } |