1  /* { dg-do compile } */
       2  /* { dg-options "-O2 -march=k8 -mno-popcnt" } */
       3  /* { dg-final { scan-assembler "setnp" } } */
       4  
       5  int foo(unsigned int x)
       6  {
       7    return __builtin_parity(x);
       8  }