]> git.ipfire.org Git - thirdparty/zstd.git/commit
decomp: add prefetch for matched seq on aarch64 (#3164)
authorJun He <jun.he@arm.com>
Fri, 29 Jul 2022 17:27:20 +0000 (01:27 +0800)
committerGitHub <noreply@github.com>
Fri, 29 Jul 2022 17:27:20 +0000 (10:27 -0700)
commit558cf20d0dacf9436959ec1ec6a5acb60152ebbb
tree2df55b4d514c1565f76cf3706e24ad794ce9efca
parent85d633042dfbd0c5cc114063af69a7c19fe82e8b
decomp: add prefetch for matched seq on aarch64 (#3164)

match is used for following sequence copy. It is
only updated when extDict is needed, which is a
low probability case. So it can be prefetched to
reduce cache miss.
The benchmarks on various Arm platforms showed
uplift from 1% ~ 14% with gcc-11/clang-14.

Signed-off-by: Jun He <jun.he@arm.com>
Change-Id: If201af4799d2455d74c79f8387404439d7f684ae
lib/decompress/zstd_decompress_block.c