summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/ia64/builtin-popcount-2.c
blob: 50ced72e72867f8d1425e375ca99565bf4b598f5 (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* { dg-final { scan-assembler-not "popcnt" } } */

int foo (int x)
{
  return __builtin_popcount (x) == 0;
}