blob: 6a6791ce617800274ecae7f69421ca077ac6d0b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* { dg-do compile } */
/* { dg-options "-march=octeon -mgp64" } */
/* { dg-final { scan-assembler "\tpop\t" } } */
/* { dg-final { scan-assembler "\tdpop\t" } } */
NOMIPS16 int
f (long long a)
{
return __builtin_popcountll (a);
}
NOMIPS16 int
g (int a)
{
return __builtin_popcount (a);
}
|