0002-ZSTD_VecMask_next-fix-incorrect-variable-name-in-fal.patch (887B)
1 From 0f2837d010dce1f0a384c3ba6f54a86f39c607d5 Mon Sep 17 00:00:00 2001 2 From: Dan Nelson <dnelson_1901@yahoo.com> 3 Date: Sat, 15 May 2021 10:20:37 -0500 4 Subject: [PATCH] ZSTD_VecMask_next: fix incorrect variable name in fallback 5 code path 6 7 --- 8 lib/compress/zstd_lazy.c | 2 +- 9 1 file changed, 1 insertion(+), 1 deletion(-) 10 11 diff --git a/lib/compress/zstd_lazy.c b/lib/compress/zstd_lazy.c 12 index 3d523e84..9e13f37c 100644 13 --- a/lib/compress/zstd_lazy.c 14 +++ b/lib/compress/zstd_lazy.c 15 @@ -1081,7 +1081,7 @@ static U32 ZSTD_VecMask_next(ZSTD_VecMask val) { 16 0, 1, 28, 2, 29, 14, 24, 3, 30, 22, 20, 15, 25, 17, 4, 8, 17 31, 27, 13, 23, 21, 19, 16, 7, 26, 12, 18, 6, 11, 5, 10, 9 18 }; 19 - return multiplyDeBruijnBitPosition[((U32)((v & -(int)v) * 0x077CB531U)) >> 27]; 20 + return multiplyDeBruijnBitPosition[((U32)((val & -(int)val) * 0x077CB531U)) >> 27]; 21 # endif 22 } 23 24 -- 25 2.31.1 26