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" } } */ 6 foo(int x)7int foo(int x) 8 { 9 return __builtin_parity(x); 10 } 11