[PATCH] eal/x86: remove redundant round to improve performance

David Marchand david.marchand at redhat.com
Tue Apr 4 15:15:46 CEST 2023


On Wed, Mar 29, 2023 at 11:17 AM Leyi Rong <leyi.rong at intel.com> wrote:
>
> In rte_memcpy_aligned(), one redundant round is taken in the 64 bytes
> block copy loops if the size is a multiple of 64. So, let the catch-up
> copy the last 64 bytes in this case.

Fixes: f5472703c0bd ("eal: optimize aligned memcpy on x86")

>
> Suggested-by: Morten Brørup <mb at smartsharesystems.com>
> Signed-off-by: Leyi Rong <leyi.rong at intel.com>

Reviewed-by: David Marchand <david.marchand at redhat.com>


-- 
David Marchand



More information about the dev mailing list