Sign in
gnu
/
gcc
/
4aef14b09557ce072f1269bd8a05fa2b1df0eda2
/
.
/
gcc
/
testsuite
/
gcc.target
/
i386
/
parity-8.c
blob: a87845583ff1b099546931f7482c00e2f591e40d [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O2 -march=core-avx2 -mno-popcnt" } */
/* { dg-final { scan-assembler-not "shr" } } */
int
foo
(
unsigned
short
x
)
{
return
__builtin_parity
(
x
);
}
int
bar
(
unsigned
short
x
)
{
return
__builtin_parityll
(
x
);
}