shithub: dav1d

Download patch

ref: feeaf785340e9aa910f65602e0f42e9958bd9e21
parent: e4208e853ab4bac2148bc75049a3902ca5cb4ad7
author: Martin Storsjö <martin@martin.st>
date: Thu Feb 6 18:45:06 EST 2020

arm: looprestoration: Fix a comment

--- a/src/arm/32/looprestoration.S
+++ b/src/arm/32/looprestoration.S
@@ -1038,7 +1038,7 @@
         b               2f
 0:
         // !LR_HAVE_LEFT, fill q1 with the leftmost byte
-        // and shift q0 to have 2x the first byte at the front.
+        // and shift q0 to have 3x the first byte at the front.
         vdup.8          q1,  d0[0]
         vdup.8          q5,  d8[0]
         // Move r3 back to account for the last 3 bytes we loaded before,
--- a/src/arm/64/looprestoration.S
+++ b/src/arm/64/looprestoration.S
@@ -950,7 +950,7 @@
         b               2f
 0:
         // !LR_HAVE_LEFT, fill v1 with the leftmost byte
-        // and shift v0 to have 2x the first byte at the front.
+        // and shift v0 to have 3x the first byte at the front.
         dup             v1.16b, v0.b[0]
         dup             v5.16b, v4.b[0]
         // Move x3 back to account for the last 3 bytes we loaded before,