URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [powerpc/] [popcount-1.c] - Rev 322
Compare with Previous | Blame | View Log
/* { dg-do compile { target { ilp32 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-options "-O2 -mcpu=power5" } */ /* { dg-final { scan-assembler "popcntb" } } */ /* { dg-final { scan-assembler-not "mullw" } } */ int foo(int x) { return __builtin_popcount(x); }