repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2014-04-15 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
mips
/
octeon-pop-1.c
blob
6a6791ce617800274ecae7f69421ca077ac6d0b6
1
/* { dg-do compile } */
2
/* { dg-options "-march=octeon -mgp64" } */
3
/* { dg-final { scan-assembler "\tpop\t" } } */
4
/* { dg-final { scan-assembler "\tdpop\t" } } */
5
6
NOMIPS16
int
7
f
(
long long
a
)
8
{
9
return
__builtin_popcountll
(
a
);
10
}
11
12
NOMIPS16
int
13
g
(
int
a
)
14
{
15
return
__builtin_popcount
(
a
);
16
}