diff options
Diffstat (limited to 'compiler-rt/lib/builtins/paritysi2.c')
-rw-r--r-- | compiler-rt/lib/builtins/paritysi2.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/compiler-rt/lib/builtins/paritysi2.c b/compiler-rt/lib/builtins/paritysi2.c index aff5326a220..d7a4f524649 100644 --- a/compiler-rt/lib/builtins/paritysi2.c +++ b/compiler-rt/lib/builtins/paritysi2.c @@ -15,12 +15,10 @@ /* Returns: 1 if number of bits is odd else returns 0 */ -COMPILER_RT_ABI si_int -__paritysi2(si_int a) -{ - su_int x = (su_int)a; - x ^= x >> 16; - x ^= x >> 8; - x ^= x >> 4; - return (0x6996 >> (x & 0xF)) & 1; +COMPILER_RT_ABI si_int __paritysi2(si_int a) { + su_int x = (su_int)a; + x ^= x >> 16; + x ^= x >> 8; + x ^= x >> 4; + return (0x6996 >> (x & 0xF)) & 1; } |