[testsuite] require sqrt_insn effective target where needed
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / parity-1.c
blob3cbf7a811ec5cf604711c0a137a8c110b744372e
1 /* { dg-do compile { target { ilp32 } } } */
2 /* { dg-skip-if "" { powerpc*-*-darwin* } } */
3 /* { dg-options "-O2 -mdejagnu-cpu=power5" } */
4 /* { dg-final { scan-assembler "popcntb" } } */
5 /* { dg-final { scan-assembler-not "mullw" } } */
7 int foo(int x)
9 return __builtin_parity(x);