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. ~Andrew