summaryrefslogtreecommitdiff
path: root/libavcodec/aarch64/fft_neon.S
diff options
context:
space:
mode:
authorAndre Kempe <Andre.Kempe@arm.com>2022-02-14 12:28:04 +0000
committerMartin Storsjö <martin@martin.st>2022-03-09 15:04:25 +0200
commit248986a0db56f833b5fc3b1b96445b841f85220b (patch)
tree9fc87f81a95891cf41b78544d3a308bf9820c217 /libavcodec/aarch64/fft_neon.S
parent74117abf0c26228102587057567b39b8a57e44fb (diff)
arm64: Add Armv8.3-A PAC support to assembly files
This patch adds optional support for Arm Pointer Authentication Codes. PAC support is turned on or off at compile time using additional compiler flags. Unless any of these is enabled explicitly, no additional code will be emitted at all. Signed-off-by: André Kempe <andre.kempe@arm.com> Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/aarch64/fft_neon.S')
-rw-r--r--libavcodec/aarch64/fft_neon.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/aarch64/fft_neon.S b/libavcodec/aarch64/fft_neon.S
index b4020fc8c7..dd5f55eb87 100644
--- a/libavcodec/aarch64/fft_neon.S
+++ b/libavcodec/aarch64/fft_neon.S
@@ -340,7 +340,7 @@ endfunc
.macro def_fft n, n2, n4
function fft\n\()_neon, align=6
- AARCH64_VALID_JUMP_TARGET
+ AARCH64_SIGN_LINK_REGISTER
sub sp, sp, #16
stp x28, x30, [sp]
add x28, x0, #\n4*2*8
@@ -351,6 +351,7 @@ function fft\n\()_neon, align=6
bl fft\n4\()_neon
sub x0, x28, #\n4*2*8
ldp x28, x30, [sp], #16
+ AARCH64_VALIDATE_LINK_REGISTER
movrel x4, X(ff_cos_\n)
mov x2, #\n4>>1
b fft_pass_neon