blob: d5d4e159bdf5b6a3b303bc5db224d29d883701a6 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O2" } */
unsigned int foo(unsigned long x)
{
return __builtin_popcountl(x);
}
/* { dg-final { scan-assembler-times "popc.b64" 1 } } */
/* { dg-final { scan-assembler-times "cvt.s64.s32" 0 } } */