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 long long * arg1_p,vector long long * arg2_p)9test_all_not_equal (vector long long *arg1_p, vector long long *arg2_p) 10 { 11 vector long long arg_1 = *arg1_p; 12 vector long long arg_2 = *arg2_p; 13 14 return vec_all_ne (arg_1, arg_2); 15 } 16 17 /* { dg-final { scan-assembler "vcmpequd." } } */ 18