shithub: dav1d

Download patch

ref: 2c1eba5e2970f0f565c76d6dad8c715cdbb7baf4
parent: 1ef86e1bb62f39e9ed98b44a3fef512662b588a8
author: Martin Storsjö <martin@martin.st>
date: Sat Jan 5 15:27:18 EST 2019

arm64: mc: Use ubfx instead of ubfm, for consistency with arm

On arm, there's no ubfm instruction, only ubfx.

--- a/src/arm/64/mc.S
+++ b/src/arm/64/mc.S
@@ -742,7 +742,7 @@
 
 L(\type\()_8tap_h):
         cmp             \w,  #4
-        ubfm            w9,  \mx, #7, #13
+        ubfx            w9,  \mx, #7, #7
         and             \mx, \mx, #0x7f
         b.le            4f
         mov             \mx,  w9
@@ -965,7 +965,7 @@
 
 L(\type\()_8tap_v):
         cmp             \h,  #4
-        ubfm            w9,  \my, #7, #13
+        ubfx            w9,  \my, #7, #7
         and             \my, \my, #0x7f
         b.le            4f
         mov             \my, w9
@@ -1269,7 +1269,7 @@
 
 L(\type\()_8tap_hv):
         cmp             \h,  #4
-        ubfm            w9,  \my, #7, #13
+        ubfx            w9,  \my, #7, #7
         and             \my, \my, #0x7f
         b.le            4f
         mov             \my,  w9