| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-O2" } */ |
| 3 |
|
| 4 |
static inline unsigned |
| 5 |
parity (unsigned x) |
| 6 |
{ |
| 7 |
return (unsigned) __builtin_parity (x); |
| 8 |
} |
| 9 |
|
| 10 |
unsigned |
| 11 |
f (unsigned rpoly) |
| 12 |
{ |
| 13 |
return parity (rpoly & 1) ^ parity (rpoly & 6); |
| 14 |
} |