shithub: dav1d

Download patch

ref: 078e7360c2a5c5b64738f6558ffb27e0369eff89
parent: 7949de70e00a1cac0229f2cfcc7413cb29f43e4e
author: Martin Storsjö <martin@martin.st>
date: Tue Jun 16 09:11:09 EDT 2020

arm64: msac: Clarify the register use in one macro

Include the letter prefix when calling the macro, making it
slightly less obscure.

--- a/src/arm/64/msac.S
+++ b/src/arm/64/msac.S
@@ -118,9 +118,9 @@
 .endm
 
 .macro str_n            idx0, idx1, dstreg, dstoff, n
-        str             q\idx0,  [\dstreg, \dstoff]
+        str             \idx0,  [\dstreg, \dstoff]
 .if \n == 16
-        str             q\idx1,  [\dstreg, \dstoff + 16]
+        str             \idx1,  [\dstreg, \dstoff + 16]
 .endif
 .endm
 
@@ -150,7 +150,7 @@
 
         ld1r            {v6.8h},  [x8]                            // dif >> (EC_WIN_SIZE - 16)
         movrel          x8,  bits
-        str_n           4,   5,  sp, #16, \n                      // store v values to allow indexed access
+        str_n           q4,  q5,  sp, #16, \n                     // store v values to allow indexed access
 
         ld1_n           v16, v17, x8,  .8h, \n