[PATCH v3 0/7] use abstracted bit count functions
Tyler Retzlaff
roretzla at linux.microsoft.com
Wed Nov 8 00:38:13 CET 2023
The first set of conversions missed the long 'l' versions of the
builtins that were being used. This series completes the conversion
of remaining libraries from __builtin_ctzl, __builtin_clzl and
__builtin_popcountl.
v3:
* add missing include of rte_bitops.h
* add 2 patches to cover use of __builtin_popcountl
v2:
* be explicit and use appropriate 32-bit and 64-bit leading
and trailing counting functions depending on the type of the
expression passed as an argument to the builtin.
Tyler Retzlaff (7):
distributor: use abstracted bit count functions
hash: use abstracted bit count functions
member: use abstracted bit count functions
rcu: use abstracted bit count functions
table: use abstracted bit count functions
distributor: use abstracted bit count functions
hash: use abstracted bit count functions
lib/distributor/rte_distributor_single.c | 4 ++--
lib/hash/rte_cuckoo_hash.c | 20 ++++++++++----------
lib/member/rte_member_vbf.c | 12 ++++++------
lib/member/rte_member_x86.h | 6 +++---
lib/rcu/rte_rcu_qsbr.c | 4 ++--
lib/rcu/rte_rcu_qsbr.h | 2 +-
lib/table/rte_lru_arm64.h | 3 ++-
lib/table/rte_swx_table_em.c | 4 ++--
lib/table/rte_table_hash_ext.c | 4 ++--
lib/table/rte_table_hash_lru.c | 4 ++--
10 files changed, 32 insertions(+), 31 deletions(-)
--
1.8.3.1
More information about the dev
mailing list