aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/parity-2.c
blob: 9adca35a667adbe02cd1dc853ab4a66609aed80e (plain)
1
2
3
4
5
6
7
8
/* { dg-do compile } */
/* { dg-options "-O2 -march=k8 -mno-popcnt" } */
/* { dg-final { scan-assembler "setnp" } } */

int foo(unsigned long long int x)
{
  return __builtin_parityll(x);
}