[PATCH v2 0/4] lib: fix AVX2 checks and macro exposure
Thomas Monjalon
thomas at monjalon.net
Thu Sep 18 11:08:06 CEST 2025
I've found the AVX2 function is not used in efd library.
Then I tried to make AVX2 compilation simpler in efd and member libraries.
While at it, I've hidden a macro which was wrongly exported in the API
without having a correct prefix.
Thomas Monjalon (4):
efd: fix AVX2 support
efd: remove AVX2 build-time check
member: remove AVX2 build-time checks
member: hide internal macro
lib/efd/{rte_efd_x86.h => efd_avx2.c} | 18 ++---
lib/efd/meson.build | 1 +
lib/efd/rte_efd.c | 3 +-
lib/efd/rte_efd_x86.h | 54 +--------------
lib/member/member.h | 9 +++
.../{rte_member_x86.h => member_avx2.c} | 23 ++-----
lib/member/meson.build | 2 +-
lib/member/rte_member.h | 9 ---
lib/member/rte_member_ht.c | 14 ++--
lib/member/rte_member_x86.h | 68 ++-----------------
10 files changed, 39 insertions(+), 162 deletions(-)
copy lib/efd/{rte_efd_x86.h => efd_avx2.c} (80%)
copy lib/member/{rte_member_x86.h => member_avx2.c} (87%)
--
2.51.0
More information about the dev
mailing list