shithub: dav1d

Download patch

ref: a26882d221295129bb6471c489f311478b2200c3
parent: 8e00403915e543e6d15e751903265494eb51a94e
author: Martin Storsjö <martin@martin.st>
date: Fri Jun 26 21:15:56 EDT 2020

arm64: ipred: Fix a comment typo

--- a/src/arm/64/ipred.S
+++ b/src/arm/64/ipred.S
@@ -1815,7 +1815,7 @@
         dup             v16.8h, w8               // width + height
         adr             x7,  L(ipred_cfl_tbl)
         rbit            w8,  w8                  // rbit(width + height)
-        sub             w9,  w9,  #22            // 22 leading bits, minus table offset 4
+        sub             w9,  w9,  #22            // 26 leading bits, minus table offset 4
         sub             w6,  w6,  #26
         clz             w8,  w8                  // ctz(width + height)
         ldrh            w9,  [x7, w9, uxtw #1]
--- a/src/arm/64/ipred16.S
+++ b/src/arm/64/ipred16.S
@@ -2125,7 +2125,7 @@
         dup             v16.4s, w8               // width + height
         adr             x7,  L(ipred_cfl_tbl)
         rbit            w8,  w8                  // rbit(width + height)
-        sub             w9,  w9,  #22            // 22 leading bits, minus table offset 4
+        sub             w9,  w9,  #22            // 26 leading bits, minus table offset 4
         sub             w6,  w6,  #26
         clz             w8,  w8                  // ctz(width + height)
         ldrh            w9,  [x7, w9, uxtw #1]