1 /* Test saving and restoring of SIMD registers. */
3 typedef short Q
__attribute__((vector_size(8)));
5 Q q1
= {1, 2}, q2
= {3, 4}, q3
= {5, 6}, q4
= {7, 8};
12 void __attribute__((__noinline__
))
18 void __attribute__((__noinline__
))
31 void __attribute__((__noinline__
))
49 if (memcmp (&w1
, &w3
, sizeof (Q
)) != 0)
51 if (memcmp (&w2
, &w4
, sizeof (Q
)) != 0)
53 if (memcmp (&z1
, &z3
, sizeof (Q
)) != 0)
55 if (memcmp (&z2
, &z4
, sizeof (Q
)) != 0)