summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2017-01-03 16:39:41 +0200
committerMartin Storsjö <martin@martin.st>2017-02-09 23:56:50 +0200
commit4da4b2b87f08a1331650c7e36eb7d4029a160776 (patch)
tree41218860a28a1f4c6c648e7d8818f51a73c9794a /libavcodec
parent3933b86bb93aca47f29fbd493075b0f110c1e3f5 (diff)
aarch64: vp9itxfm: Share instructions for loading idct coeffs in the 8x8 function
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/aarch64/vp9itxfm_neon.S3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/aarch64/vp9itxfm_neon.S b/libavcodec/aarch64/vp9itxfm_neon.S
index c954d1a5e1..a9c7626e65 100644
--- a/libavcodec/aarch64/vp9itxfm_neon.S
+++ b/libavcodec/aarch64/vp9itxfm_neon.S
@@ -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