1 /* { dg-do compile { target { powerpc*-*-* } } } */
2 /* { dg-require-effective-target powerpc_vsx_ok } */
3 /* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */
8 fetch_data (vector
unsigned int *arg1_p
, vector
unsigned int *arg2_p
)
10 vector
unsigned int arg_1
= *arg1_p
;
11 vector
unsigned int arg_2
= *arg2_p
;
13 return __builtin_vec_vcmpnez (arg_1
, arg_2
); /* { dg-error "'__builtin_altivec_vcmpnezw' requires the '-mcpu=power9' and '-mvsx' options" } */