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
* gcc.target/powerpc/altivec-32.c: Don't use -m64.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
powerpc
/
popcount-2.c
blob
43b2ce7fae51d56ac5c2d1d1016367a471ac89ec
1
/* { dg-do compile { target { ilp32 } } } */
2
/* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */
3
/* { dg-options "-O2 -mcpu=power7" } */
4
/* { dg-final { scan-assembler "popcntw" } } */
5
6
int
foo
(
int
x
)
7
{
8
return
__builtin_popcount
(
x
);
9
}