aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.4.3/gcc/testsuite/gcc.target/i386/parity-1.c
blob: 0094b5bced8f22702cff2c7e82a63d762bc5d6a6 (plain)
1
2
3
4
5
6
7
8
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* { dg-final { scan-assembler "setnp" } } */

int foo(unsigned int x)
{
  return __builtin_parity(x);
}