1 /* { dg-do compile { target lp64 } } */
2 /* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */
3 /* { dg-require-effective-target powerpc_vsx } */
10 return (vector
int) { a
, a
, a
, a
}; /* mtvsrws */
16 return vec_splats (a
); /* mtvsrws */
22 return (vector
int) { *a
, *a
, *a
, *a
}; /* lxvwsx */
25 /* { dg-final { scan-assembler-times "mtvsrws" 2 } } */
26 /* { dg-final { scan-assembler-times "lxvwsx" 1 } } */