arm: vp9itxfm: Share instructions for loading idct coeffs in the 8x8 function
authorMartin Storsjö <martin@martin.st>
Tue, 3 Jan 2017 14:38:56 +0000 (16:38 +0200)
committerMartin Storsjö <martin@martin.st>
Thu, 9 Feb 2017 21:56:44 +0000 (23:56 +0200)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/arm/vp9itxfm_neon.S

index 167d517..3d0b0fa 100644 (file)
@@ -412,13 +412,12 @@ function ff_vp9_\txfm1\()_\txfm2\()_8x8_add_neon, export=1
 .ifc \txfm1\()_\txfm2,idct_idct
         movrel          r12, idct_coeffs
         vpush           {q4-q5}
-        vld1.16         {q0}, [r12,:128]
 .else
         movrel          r12, iadst8_coeffs
         vld1.16         {q1}, [r12,:128]!
         vpush           {q4-q7}
-        vld1.16         {q0}, [r12,:128]
 .endif
+        vld1.16         {q0}, [r12,:128]
 
         vmov.i16        q2, #0
         vmov.i16        q3, #0