Optimize by prefetching on aarch64

This commit is contained in:
caoyzh committed 2020-03-14 15:25:59 +08:00
1 parent 66607d0eac
commit 7201980650
3 files changed
+11

No files matched your search

+3
View File
@@ -198,6 +198,9 @@ size_t ZSTD_compressBlock_doubleFast_generic(
} }
ip += ((ip-anchor) >> kSearchStrength) + 1;
#if defined(__aarch64__)
PREFETCH_L1(ip+256);
#endif
continue;
_search_next_long: