Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
eal/x86: improve multiple of 64 bytes memcpy performance
[ upstream commit 2ef17be88e8b26f871cfb0265227341e36f486ea ] 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: f547270 ("eal: optimize aligned memcpy on x86") Suggested-by: Morten Brørup <mb@smartsharesystems.com> Signed-off-by: Leyi Rong <leyi.rong@intel.com> Reviewed-by: Morten Brørup <mb@smartsharesystems.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com> Reviewed-by: David Marchand <david.marchand@redhat.com>
- Loading branch information