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
c++: normalizing ttp constraints [PR115656]
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
powerpc
/
popcount-3.c
blob
81632e0987a8f459b0bef84f53a8544ca1798b00
1
/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
2
/* { dg-skip-if "" { powerpc*-*-darwin* } } */
3
/* { dg-options "-O2 -mdejagnu-cpu=power7" } */
4
/* { dg-final { scan-assembler "popcntd" } } */
5
6
long
foo
(
int
x
)
7
{
8
return
__builtin_popcountl
(
x
);
9
}