1 /* { dg-do compile { target { powerpc*-*-* } } } */
2 /* { dg-require-effective-target lp64 } */
3 /* { dg-require-effective-target powerpc_vsx_ok } */
4 /* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */
10 store_data (vector
unsigned int *datap
, unsigned int *address
, size_t length
)
12 vector
unsigned int data
= *datap
;
14 vec_xst_len (data
, address
, length
);
17 /* { dg-final { scan-assembler "sldi" } } */
18 /* { dg-final { scan-assembler "stxvl" } } */