blob: c991d4caa0f03120ac5b839eae18669046e1a056 (
plain)
1
2
3
4
5
6
7
8
9
10
|
/* { dg-do compile { target { ilp32 } } } */
/* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */
/* { dg-options "-O2 -mcpu=power5" } */
/* { dg-final { scan-assembler "popcntb" } } */
/* { dg-final { scan-assembler-not "mullw" } } */
int foo(int x)
{
return __builtin_parity(x);
}
|