/* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target lp64 } */ /* { dg-require-effective-target powerpc_p9vector_ok } */ /* { dg-options "-mdejagnu-cpu=power9" } */ #include #include void store_data (vector signed short *datap, signed short *address, size_t length) { vector signed short data = *datap; vec_xst_len (data, address, length); } /* { dg-final { scan-assembler "sldi" } } */ /* { dg-final { scan-assembler "stxvl" } } */