From 64054dec442a99e4c065be1319202e18bd4b8d8a Mon Sep 17 00:00:00 2001 From: "W. Felix Handte" Date: Fri, 20 Aug 2021 17:06:41 -0400 Subject: [PATCH] Tweak Step --- lib/compress/zstd_fast.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/compress/zstd_fast.c b/lib/compress/zstd_fast.c index 9b40558e1..d60a0bbe5 100644 --- a/lib/compress/zstd_fast.c +++ b/lib/compress/zstd_fast.c @@ -340,7 +340,6 @@ _start: /* Requires: ip0 */ ip0 = ip1; ip1 = ip2; ip2 = ip3; - ip3 += step; /* write back hash table entry */ current0 = ip0 - base; @@ -377,8 +376,8 @@ _start: /* Requires: ip0 */ /* advance to next positions */ ip0 = ip1; ip1 = ip2; - ip2 = ip3; - ip3 += step; + ip2 = ip2 + step; + ip3 = ip2 + step; } while (ip3 < ilimit); _cleanup: