[FFmpeg-devel] [PATCH] Replace br return with ret
Casey Smalley
casey.smalley at arm.com
Thu Jul 27 13:26:26 EEST 2023
This patch changes the return instruction in the
tr_32x4 macro from br to ret.
On devices that support BTI a landing pad is
required when branching with br, or the instruction
can be replaced with a ret.
The change fixes fate-hevc-hdr-vivid-metadata when
on hardware with BTI support.
Signed-off-by: Casey Smalley <casey.smalley at arm.com>
---
libavcodec/aarch64/hevcdsp_idct_neon.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/aarch64/hevcdsp_idct_neon.S
b/libavcodec/aarch64/hevcdsp_idct_neon.S
index b7f23386a4..eab2add9e8 100644
--- a/libavcodec/aarch64/hevcdsp_idct_neon.S
+++ b/libavcodec/aarch64/hevcdsp_idct_neon.S
@@ -791,7 +791,7 @@ function func_tr_32x4_\name
add x3, x11, #(32 + 3 * 64)
scale_store \shift
- br x10
+ ret x10
endfunc
.endm
-- 2.40.1
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
More information about the ffmpeg-devel
mailing list