On 27/08/2024 11:11 am, Jan Beulich wrote: > On 27.08.2024 11:49, Andrew Cooper wrote: >> On 26/08/2024 11:39 am, Jan Beulich wrote: >>> On 23.08.2024 01:06, Andrew Cooper wrote: >>>> They are no more, and won't be returning in this form. >>> And what's the plan? Use hweight32((uint8_t)...) in an open-coded manner? >>> Not overly nice I would say. >> If we ever regain a genuine need for the 8 or 16 forms, they can go back >> into bitops.h, in terms of hweightl(), just like hweight32(). >> >> But it's been 20 years so far and we haven't actually needed >> hweight8/16, and I'm expecting this to continue for the forseeable future. > Well, I'm not fully convinced. People may (try to) add open-coded forms like > in my earlier reply instead.
I'd hope we'd spot that during review, and even if not, we can fix it up after the fact. > But anyway: > Acked-by: Jan Beulich <[email protected]> Thanks. ~Andrew
