]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Use value already stored in wsize.
authorNathan Moinvaziri <nathan@nathanm.com>
Fri, 31 Jan 2020 22:34:32 +0000 (14:34 -0800)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Fri, 7 Feb 2020 17:01:30 +0000 (18:01 +0100)
arch/x86/slide_sse.c

index 8358ced0c3f1012743ac14ed87c22f9fd76587f5..c7d3b124975ec643dd30cb3b446ff9b31597e986 100644 (file)
@@ -17,7 +17,7 @@ ZLIB_INTERNAL void slide_hash_sse2(deflate_state *s) {
     Pos *p;
     unsigned n;
     unsigned wsize = s->w_size;
-    const __m128i xmm_wsize = _mm_set1_epi16(s->w_size);
+    const __m128i xmm_wsize = _mm_set1_epi16(wsize);
 
     n = s->hash_size;
     p = &s->head[n] - 8;