shithub: dav1d

Download patch

ref: d4c5ad493bebcb67aa3c6779b2ce7ffe20fd2018
parent: b1167ce169f004f90bcc4a9e8841ffb90fe4abf1
author: Martin Storsjö <martin@martin.st>
date: Sat Feb 1 09:34:04 EST 2020

arm64: mc: Reduce the width of a register copy

Only copy as much as really is needed/used.

--- a/src/arm/64/mc.S
+++ b/src/arm/64/mc.S
@@ -2073,9 +2073,9 @@
         st1             {v3.4h}, [\ds2], \d_strd
 .endif
         b.le            0f
-        mov             v16.16b, v18.16b
-        mov             v17.16b, v28.16b
-        mov             v18.16b, v29.16b
+        mov             v16.8b,  v18.8b
+        mov             v17.8b,  v28.8b
+        mov             v18.8b,  v29.8b
         b               4b
 
 480:    // 4x8, 4x16, 4x32 hv