]> git.ipfire.org Git - thirdparty/zstd.git/commit
common: apply two stage copy to aarch64 3145/head
authorJun He <jun.he@arm.com>
Wed, 25 May 2022 14:26:41 +0000 (22:26 +0800)
committerJun He <jun.he@arm.com>
Thu, 26 May 2022 06:40:21 +0000 (14:40 +0800)
commitd7249dafb43825dc2048a6bdce4e3c9b7606e0ae
tree3a7fe04a77b5b83a6c619298a53e785ee8fb0af2
parent9a5e73c74ef2d621992154306ab1ab6ba44ac8fa
common: apply two stage copy to aarch64

On aarch64 ZSTD_wildcopy uses a simple loop to do
16B based memory copy. There is existing optimized
two stage copy that can achieve better performance.
By applying this to aarch64 it is also observed ~1%
uplift in silesia corpus.

Signed-off-by: Jun He <jun.he@arm.com>
Change-Id: Ic1253308e7a8a7df2d08963ba544e086c81ce8be
lib/common/zstd_internal.h