1 /* { dg-do compile { target { powerpc*-*-* } } } */ 2 /* { dg-require-effective-target lp64 } */ 3 /* { dg-require-effective-target powerpc_p9vector_ok } */ 4 /* { dg-options "-mdejagnu-cpu=power9" } */ 5 6 #include <stddef.h> 7 #include <altivec.h> 8 9 void store_data(vector signed __int128 * datap,signed __int128 * address,size_t length)10store_data (vector signed __int128 *datap, signed __int128 *address, 11 size_t length) 12 { 13 vector signed __int128 data = *datap; 14 15 vec_xst_len (data, address, length); 16 } 17 18 /* { dg-final { scan-assembler "sldi" } } */ 19 /* { dg-final { scan-assembler "stxvl" } } */ 20