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

David Marchand david.marchand at redhat.com
Wed Jun 7 18:44:07 CEST 2023


On Tue, Apr 4, 2023 at 3:15 PM David Marchand <david.marchand at redhat.com> wrote:
> 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>

Applied, thanks.


-- 
David Marchand



More information about the dev mailing list