gcc/testsuite/gcc.target/mips/octeon-pop-2.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-march=octeon -mgp64" } */ |
| 3 | /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */ |
| 4 | /* The pop instruction does not depend on the word value to be sign extended. */ |
| 5 | /* { dg-final { scan-assembler-not "sll\t" } } */ |
| 6 | |
| 7 | NOMIPS16 long long f(long long i) |
| 8 | { |
| 9 | return __builtin_popcount (i); |
| 10 | } |
| 11 |