[PATCH v8] eal/x86: improve rte_memcpy const size 16 performance

Morten Brørup mb at smartsharesystems.com
Tue Jul 9 14:54:28 CEST 2024


> From: David Marchand [mailto:david.marchand at redhat.com]
> Sent: Tuesday, 9 July 2024 14.48
> 
> On Tue, Jul 9, 2024 at 2:43 PM Morten Brørup <mb at smartsharesystems.com>
> wrote:
> > PS: The CI should catch this stuff.

Working on fixing it now, some old variants of rte_mov16() do the extra cast, and some don't. It could be CPU feature (SSE/AVX/AVX512) specific.

Also, the header file's definition of _mm_loadu_si128() has the wrong parameter type - it is specified as a type that must be aligned, although it is not required. The intrinsic header files are full of bugs like this.

> 
> Restoring OVS tests in CI has been requested and I think it was being
> worked on.
> Not sure where we are atm, Patrick?
> 
> 
> --
> David Marchand



More information about the dev mailing list