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
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
pr59874-3.c
blob
ec55a12e2a0db526b1d76c103b4e8230b9952d22
1
/* PR target/59874 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -mpopcnt -masm=att" } */
4
/* { dg-final { scan-assembler "popcntw" } } */
5
6
unsigned int
7
foo
(
unsigned short
x
)
8
{
9
return
__builtin_popcount
(
x
);
10
}