Thread (54 messages) 54 messages, 10 authors, 2025-03-02

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

From: "H. Peter Anvin" <hpa@zytor.com>
Date: 2025-02-26 01:39:22
Also in: bpf, dri-devel, linux-input, linux-media, linux-serial, linux-wireless, lkml

On February 25, 2025 1:43:27 PM PST, Andrew Cooper [off-list ref] wrote:
quoted
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help