aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2023-07-26 21:13:44 +0200
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2023-07-29 16:05:23 +0200
commitdcff15692dff4c55827d640f1d5d07eb255a5a6a (patch)
tree6868fa9ba5ee8db2a400ac4fbad90cb37c8c7391
parent075dfc271bb78c9c179360d848f746ce76660876 (diff)
downloadffmpeg-dcff15692dff4c55827d640f1d5d07eb255a5a6a.tar.gz
hevcdsp_idct_neon.S: Avoid unnecessary mov.
ret can be given an argument instead. This is also consistent with how other assembler code in FFmpeg does it. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
-rw-r--r--libavcodec/aarch64/hevcdsp_idct_neon.S6
1 files changed, 2 insertions, 4 deletions
diff --git a/libavcodec/aarch64/hevcdsp_idct_neon.S b/libavcodec/aarch64/hevcdsp_idct_neon.S
index b7f23386a4..f7142c939c 100644
--- a/libavcodec/aarch64/hevcdsp_idct_neon.S
+++ b/libavcodec/aarch64/hevcdsp_idct_neon.S
@@ -617,8 +617,7 @@ function ff_hevc_idct_16x16_\bitdepth\()_neon, export=1
add sp, sp, #640
- mov x30, x15
- ret
+ ret x15
endfunc
.endm
@@ -814,8 +813,7 @@ function ff_hevc_idct_32x32_\bitdepth\()_neon, export=1
.endr
add sp, sp, #2432
- mov x30, x15
- ret
+ ret x15
endfunc
.endm