OSDN Git Service

arm: vp9mc: Fix vertical alignment of operands
authorMartin Storsjö <martin@martin.st>
Mon, 9 Jan 2017 22:15:17 +0000 (00:15 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 14 Jan 2017 20:13:37 +0000 (21:13 +0100)
This is cherrypicked from libav commit
c536e5e8698110c139b1c17938998a5547550aa3.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/arm/vp9mc_neon.S

index 5fe3024..83235ff 100644 (file)
@@ -79,7 +79,7 @@ function ff_vp9_avg32_neon, export=1
         vrhadd.u8       q0,  q0,  q2
         vrhadd.u8       q1,  q1,  q3
         subs            r12, r12, #1
-        vst1.8          {q0, q1},  [r0, :128], r1
+        vst1.8          {q0,  q1},  [r0, :128], r1
         bne             1b
         bx              lr
 endfunc
@@ -407,7 +407,7 @@ function ff_vp9_\type\()_\filter\()\size\()_h_neon, export=1
         add             r12, r12, 256*\offset
         cmp             r5,  #8
         add             r12, r12, r5, lsl #4
-        mov             r5, #\size
+        mov             r5,  #\size
 .if \size >= 16
         bge             \type\()_8tap_16h_34
         b               \type\()_8tap_16h_43
@@ -541,7 +541,7 @@ function \type\()_8tap_8v_\idx1\idx2
         sub             r2,  r2,  r3
         vld1.16         {q0},  [r12, :128]
 1:
-        mov             r12,  r4
+        mov             r12, r4
 
         loadl           q5,  q6,  q7
         loadl           q8,  q9,  q10, q11