Re: [PATCH v3 4/5] xen/bitops: Implement hweight64() in terms of hweight{l,32}()

2024-09-05 Thread Stefano Stabellini
On Wed, 4 Sep 2024, Andrew Cooper wrote: > ... and drop generic_hweight{32,64}(). > > This is identical on all architectures except ARM32. Add one extra SELF_TEST > to check that hweight64() works when the input is split in half. > > No functional change. > > Signed-off-by: Andrew Cooper > Rev

[PATCH v3 4/5] xen/bitops: Implement hweight64() in terms of hweight{l,32}()

2024-09-04 Thread Andrew Cooper
... and drop generic_hweight{32,64}(). This is identical on all architectures except ARM32. Add one extra SELF_TEST to check that hweight64() works when the input is split in half. No functional change. Signed-off-by: Andrew Cooper Reviewed-by: Jan Beulich --- CC: Jan Beulich CC: Roger Pau M