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-2.c] - Rev 322
Compare with Previous | Blame | View Log
/* { dg-do compile { target { ilp32 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-options "-O2 -mcpu=power7" } */ /* { dg-final { scan-assembler "popcntw" } } */ int foo(int x) { return __builtin_popcount(x); }