Debian Codegraph @

gcc/testsuite/gcc.target/i386/avx-loadu2-m128d-2.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mavx" } */
3 /* { dg-require-effective-target avx } */
4
5 #include "avx-check.h"
6
7 static void
8 avx_test (void)
9 {
10 union256d u;
11 double e[8] = { 1.5, -9.5, 13.25, -24.75, -18.75, 12.0, 0.0, 9.0 };
12 double f[4] = { 12.0, 0.0, -9.5, 13.25 };
13
14 u.x = _mm256_loadu2_m128d (e + 1, e + 5);
15 if (check_union256d (u, f))
16 abort ();
17 }