2 /* { dg-do compile } */
3 /* { dg-require-effective-target powerpc_altivec_ok } */
4 /* { dg-options "-O2 -maltivec -mno-vsx" } */
11 vector
unsigned a
, b
, c
;
14 a
= (vector
unsigned) { 0, 0, 0, 1 };
15 b
= c
= (vector
unsigned) { 0, 0, 0, 0 };
17 a
= vec_add (a
, vec_splats (k
));
19 c
= vec_sel (c
, a
, b
);
21 if (vec_any_eq (b
, c
))