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
[to-be-committed] [RISC-V] Improve (1 << N) | C for rv64
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
ia64
/
builtin-popcount-1.c
blob
c9641d0e6dfeecf5f2599695de5e56eafad8deb4
1
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
/* { dg-final { scan-assembler "popcnt" } } */
4
5
int
foo
(
int
x
)
6
{
7
return
__builtin_popcount
(
x
);
8
}
9