gcc/ChangeLog:
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / pr81572.c
blobde00c187d6280108fa94b157cac6f828fbe6d88b
1 /* { dg-do compile { target powerpc64*-*-* } } */
2 /* { dg-options "-O2 -mcpu=power7" } */
3 /* { dg-final { scan-assembler-not "xxlor" } } */
5 #include <altivec.h>
7 typedef __vector unsigned char nvec_t;
9 long testz_and(nvec_t a, nvec_t b)
11 nvec_t c = vec_andc(a, b);
12 return vec_all_eq(a, c);