☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.target
/
nvptx
/
popc-1.c
☽
☼
gcc/testsuite/gcc.target/nvptx/popc-1.c
code
plain
raw
1
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
4
unsigned int foo(unsigned int x)
5
{
6
return __builtin_popcount(x);
7
}
8
9
/* { dg-final { scan-assembler-times "popc.b32" 1 } } */