Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/compress/zstd_double_fast.c
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ size_t ZSTD_compressBlock_doubleFast_noDict_generic(
hl0 = hl1;
idxl0 = idxl1;
matchl0 = matchl1;
#if defined(__aarch64__)
#if defined(__aarch64__) || (defined(__riscv) && (__riscv_xlen == 64))
PREFETCH_L1(ip+256);
#endif
} while (ip1 <= ilimit);
Expand Down Expand Up @@ -448,7 +448,7 @@ size_t ZSTD_compressBlock_doubleFast_dictMatchState_generic(
} }

ip += ((ip-anchor) >> kSearchStrength) + 1;
#if defined(__aarch64__)
#if defined(__aarch64__) || (defined(__riscv) && (__riscv_xlen == 64))
PREFETCH_L1(ip+256);
#endif
continue;
Expand Down
Loading