1 /* { dg-do compile { target { powerpc*-*-* } } } */ 2 /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power9" } } */ 3 /* { dg-require-effective-target powerpc_p9vector_ok } */ 4 /* { dg-options "-mcpu=power9" } */ 5 6 #include <altivec.h> 7 8 int test_all_not_equal(vector float * arg1_p,vector float * arg2_p)9test_all_not_equal (vector float *arg1_p, vector float *arg2_p) 10 { 11 vector float arg_1 = *arg1_p; 12 vector float arg_2 = *arg2_p; 13 14 return vec_all_ne (arg_1, arg_2); 15 } 16 17 /* { dg-final { scan-assembler "xvcmpeqsp." } } */ 18