1/* { dg-do compile { target { ilp32 } } } */ 2/* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ 3/* { dg-options "-O2 -mcpu=power5" } */ 4/* { dg-final { scan-assembler "popcntb" } } */ 5/* { dg-final { scan-assembler-not "mullw" } } */ 6 7int foo(int x) 8{ 9 return __builtin_popcount(x); 10} 11