1 /* { dg-do compile { target powerpc-*-linux*paired* } } */
2 /* { dg-options "-mpaired -m32 -ffinite-math-only" } */
4 /* Test PowerPC PAIRED extensions. */
9 static float out[2] __attribute__ ((aligned (8)));
11 vector float b = { 3.0, 5.0 };
12 vector float c = { 2.0, 5.0 };
14 vector float a = { 0.0, 0.0 };
19 if (paired_cmpu1_eq (b, c))
21 a = paired_add (b, c);
22 paired_stx (a, 0, out);
24 if ((out[0] != 5.0) || (out[1] != 10.0))