From: Nathan Moinvaziri Date: Wed, 27 May 2020 00:14:37 +0000 (-0700) Subject: Reuse wsize variable in slide_hash_avx2. X-Git-Tag: 1.9.9-b1~256 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55182793f84ca3f07a2963a0e61ff3f68bfb141f;p=thirdparty%2Fzlib-ng.git Reuse wsize variable in slide_hash_avx2. --- diff --git a/arch/x86/slide_avx.c b/arch/x86/slide_avx.c index 77221d64f..3157ceeb7 100644 --- a/arch/x86/slide_avx.c +++ b/arch/x86/slide_avx.c @@ -18,7 +18,7 @@ ZLIB_INTERNAL void slide_hash_avx2(deflate_state *s) { Pos *p; unsigned n; unsigned wsize = s->w_size; - const __m256i zmm_wsize = _mm256_set1_epi16(s->w_size); + const __m256i zmm_wsize = _mm256_set1_epi16(wsize); n = s->hash_size; p = &s->head[n] - 16;