[PATCH v4] event/dlb2: consolidate AVX512 and SSE changes

Bruce Richardson bruce.richardson at intel.com
Thu May 22 11:39:49 CEST 2025


On Tue, Apr 08, 2025 at 08:00:48AM -0500, Tirthendu Sarkar wrote:
> Streamline code for AVX512 and SSE by consolidating the common code and
> adding runtime check for selecting appropriate path based on CPU
> capability.
> 
> Signed-off-by: Tirthendu Sarkar <tirthendu.sarkar at intel.com>
> 
> ---
> v4:
>  - Modify some AVX512 instructions to resolve compilation error on
>    older compliers
> v3:
>  - Simplified code for AVX/SSE paths
> v2:
>  - Addressed review comments [Bruce Richardson]
> ---
>  drivers/event/dlb2/dlb2.c        |  78 ++++++++-
>  drivers/event/dlb2/dlb2_avx512.c | 287 +++----------------------------
>  drivers/event/dlb2/dlb2_priv.h   |  10 +-
>  drivers/event/dlb2/dlb2_sse.c    | 242 +++-----------------------
>  4 files changed, 127 insertions(+), 490 deletions(-)
>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
 


More information about the dev mailing list