1 /* { dg-skip-if "" { powerpc*-*-darwin* } } */
2 /* { dg-options "-maltivec -mabi=altivec -std=gnu99 -mvsx" } */
3 /* { dg-require-effective-target powerpc_vsx } */
7 static unsigned long long svul
[2] __attribute__ ((aligned (16)));
8 static double svd
[2] __attribute__ ((aligned (16)));
10 static void check_arrays ()
13 for (i
= 0; i
< 2; ++i
)
15 check (svul
[i
] == i
, "svul");
16 check (svd
[i
] == i
* 1.0, "svd");
22 vector
unsigned long long vul
= {0,1};
23 vector
double vd
= {0.0,1.0};
25 vec_st (vul
, 0, (vector
unsigned long long *)svul
);
26 vec_st (vd
, 0, (vector
double *)svd
);