URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [powerpc/] [popcount-2.c] - Rev 801
Go to most recent revision | 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); }
Go to most recent revision | Compare with Previous | Blame | View Log