Re: [PATCH 01/31] bitops: add parity functions

From: Zeng Zhaoxiu
Date: Sun Mar 27 2016 - 22:44:54 EST


OK, I will do the V2 patches soon.
In addition, the best is to provide asm version parity functions for powerpc, sparc, and x86.

å 2016å03æ28æ 01:56, Sam Ravnborg åé:
Any particular reason that you select one approach over the other
in the different cases?
No particular reason, just like the architecture's __arch_hweightN.
The general recommendatiosn these days are to use static inline
for code to get better type check.
And it would also be nice to be consistent across architectures.

Sam