1 /* { dg-do compile { target { powerpc*-*-* } } } */
2 /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */
3 /* { dg-require-effective-target lp64 } */
4 /* { dg-require-effective-target powerpc_p9vector_ok } */
5 /* { dg-options "-mcpu=power8" } */
10 /* The vec_xst_len() function is not available on power8 configurations. */
13 store_data (vector
double *datap
, double *address
, size_t length
)
15 vector
double data
= *datap
;
17 __builtin_vec_stxvl (data
, address
, length
); /* { dg-error "builtin function __builtin_vec_stxvl not supported in this compiler configuration" } */