shithub: dav1d

Download patch

ref: b7a5d2ff37ca4f02cce38b9ca7fb49d08186ea4e
parent: 2c1eba5e2970f0f565c76d6dad8c715cdbb7baf4
author: Martin Storsjö <martin@martin.st>
date: Sun Jan 6 19:15:37 EST 2019

arm64: mc: Remove unused/unnecessary macro args

--- a/src/arm/64/mc.S
+++ b/src/arm/64/mc.S
@@ -628,7 +628,7 @@
         st1             {\reg\().h}[3], [x8], \strd
 .endif
 .endm
-.macro st_s strd, r0, r1, r2, r3
+.macro st_s strd, r0, r1
         st1             {\r0\().s}[0], [x0], \strd
         st1             {\r0\().s}[1], [x8], \strd
 .ifnb \r1
@@ -636,7 +636,7 @@
         st1             {\r1\().s}[1], [x8], \strd
 .endif
 .endm
-.macro st_d strd, r0, r1, r2, r3
+.macro st_d strd, r0, r1
         st1             {\r0\().d}[0], [x0], \strd
         st1             {\r0\().d}[1], [x8], \strd
 .ifnb \r1
@@ -644,13 +644,13 @@
         st1             {\r1\().d}[1], [x8], \strd
 .endif
 .endm
-.macro shift_store_4 type, strd, r0, r1, r2, r3
+.macro shift_store_4 type, strd, r0, r1
 .ifc \type, put
-        sqrshrun_b      6,     \r0, \r1, \r2, \r3
-        st_s            \strd, \r0, \r1, \r2, \r3
+        sqrshrun_b      6,     \r0, \r1
+        st_s            \strd, \r0, \r1
 .else
-        srshr_h         2,     \r0, \r1, \r2, \r3
-        st_d            \strd, \r0, \r1, \r2, \r3
+        srshr_h         2,     \r0, \r1
+        st_d            \strd, \r0, \r1
 .endif
 .endm
 .macro st_reg strd, wd, r0, r1, r2, r3, r4, r5, r6, r7