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

index c954d1a..a9c7626 100644 (file)
@@ -379,12 +379,11 @@ function ff_vp9_\txfm1\()_\txfm2\()_8x8_add_neon, export=1
         // idct, so those always need to be loaded.
 .ifc \txfm1\()_\txfm2,idct_idct
         movrel          x4,  idct_coeffs
-        ld1             {v0.8h}, [x4]
 .else
         movrel          x4, iadst8_coeffs
         ld1             {v1.8h}, [x4], #16
-        ld1             {v0.8h}, [x4]
 .endif
+        ld1             {v0.8h}, [x4]
 
         movi            v2.16b, #0
         movi            v3.16b, #0