[PATCH 02/17] bitops: Add generic parity calculation for u64

H. Peter Anvin hpa at zytor.com
Tue Feb 25 17:35:26 PST 2025


On February 25, 2025 1:43:27 PM PST, Andrew Cooper <andrew.cooper3 at citrix.com> wrote:
>> Incidentally, in all of this, didn't anyone notice __builtin_parity()?
>
>Yes.  It it has done sane for a decade on x86, yet does things such as
>emitting a library call on other architectures.
>
>https://godbolt.org/z/6qG3noebq
>
>~Andrew

And not even a smart one at that.



More information about the linux-mtd mailing list