]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Fixed operator in comment in slide_hash_chain for power8.
authorNathan Moinvaziri <nathan@nathanm.com>
Thu, 25 Feb 2021 00:59:48 +0000 (16:59 -0800)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Sat, 12 Jun 2021 16:26:15 +0000 (18:26 +0200)
arch/power/slide_power8.c

index 3c78d303babd38b8dec4175d74b3bbedde832461..f1530572747e5234275bb05bfe4415d523756285 100644 (file)
@@ -38,7 +38,7 @@ static inline void slide_hash_chain(Pos *table, uint32_t entries, uint16_t wsize
 
         /* This is equivalent to: m >= wsize ? m - wsize : 0
          * Since we are using a saturated unsigned subtraction, any
-         * values that are > wsize will be set to 0, while the others
+         * values that are <= wsize will be set to 0, while the others
          * will be subtracted by wsize. */
         *vp = vec_subs(vm,vw);
     } while (--chunks);