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

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