xen/bitops: hweight() cleanup/improvements
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest5 patches 12 repliesIn review
- v211 patches 13 repliesSuperseded
- v19 patches 30 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | xen/bitops: Reinstate the please tidy messagexen/ | +2 | 2 replies | |
| 2/5 | xen/bitops: Drop the remnants of hweight{8,16}()xen/ xen/ xen/ +1 more | +0 | 3 replies | |
| 3/5 | xen/bitops: Implement hweight32() in terms of hweightl()xen/ xen/ xen/ +1 more | +5 | 5 replies | |
| 4/5 | xen/bitops: Implement hweight64() in terms of hweight{l,32}()xen/ xen/ xen/ +2 more | +11 | 1 reply | |
| 5/5 | x86/bitops: Use the POPCNT instruction when availablexen/ xen/ xen/ | +95 | 1 reply |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Jan Beulich | Stefano Stabellini | Shawn Anastasio |
|---|---|---|---|
| 1/5 | A-b | ||
| 2/5 | A-b | A-b | A-b |
| 3/5 | A-b | A-b | A-b |
| 4/5 | R-b | A-b | |
| 5/5 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v3 0/5] xen/bitops: hweight() cleanup/improvements
The next phase of bitops cleanup. This series:
1) Untangles the mess around hweight()
2) Removes some unwise uses of hweight()
3) Makes it work transparently for RISC-V
4) Use the POPCNT instruction on x86 when available
6 patches from the v2 posting has been committed. See the remainder for v3 changes.
Andrew Cooper (5):
xen/bitops: Reinstate the please tidy message xen/bitops: Drop the remnants of hweight{8,16}() xen/bitops: Implement hweight32() in terms of hweightl() xen/bitops: Implement hweight64() in terms of hweight{l,32}() x86/bitops: Use the POPCNT instruction when available
xen/arch/arm/include/asm/bitops.h | 11 ----- xen/arch/ppc/include/asm/bitops.h | 11 ----- xen/arch/x86/include/asm/bitops.h | 32 +++++++++----- xen/common/bitops.c | 3 ++ xen/include/xen/bitops.h | 69 +++++++----------------------- xen/lib/Makefile | 1 + xen/lib/x86-generic-hweightl.c | 71 +++++++++++++++++++++++++++++++ 7 files changed, 112 insertions(+), 86 deletions(-) create mode 100644 xen/lib/x86-generic-hweightl.c
Signature · 1 line
2.39.2