http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60502
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Marc Glisse from comment #2) > Indeed. Probably should call build_all_ones_cst instead of > build_low_bits_mask in eliminate_not_pairs. Agreed. Are you going to prepare a patch, or should I? Guess we don't want to use v16i8 in fn return type or argument, it needs to be typedef signed char v16i8 __attribute__ ((vector_size (16))); typedef unsigned char v16u8 __attribute__ ((vector_size (16))); void foo (v16i8 *x) { v16i8 op0 = *x; v16i8 m1 = { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }; *x = (op0 ^ m1) | (op0 & m1); } void bar (v16u8 *x) { v16u8 op0 = *x; v16u8 m1 = { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }; *x = (op0 ^ m1) | (op0 & m1); } instead.