summaryrefslogtreecommitdiff
path: root/libavcodec/aarch64/synth_filter_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/synth_filter_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/synth_filter_neon.S')
-rw-r--r--libavcodec/aarch64/synth_filter_neon.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/aarch64/synth_filter_neon.S b/libavcodec/aarch64/synth_filter_neon.S
index 8fcd71f252..ba79ba9686 100644
--- a/libavcodec/aarch64/synth_filter_neon.S
+++ b/libavcodec/aarch64/synth_filter_neon.S
@@ -52,6 +52,7 @@ function ff_synth_filter_float_neon, export=1
stp x5, x1, [sp, #16]
and x7, x7, #~63
and w8, w8, #511
+ AARCH64_SIGN_LINK_REGISTER
stp x7, x30, [sp, #32]
str w8, [x2]
str s0, [sp, #48]
@@ -63,6 +64,7 @@ function ff_synth_filter_float_neon, export=1
ldp x2, x4, [sp] // synct_buf_2, window
ldp x13, x9, [sp, #16] // out, synth_buf
ldp x0, x30, [sp, #32] // *synth_buf_offset
+ AARCH64_VALIDATE_LINK_REGISTER
ldr s0, [sp, #48]
add x3, x2, #16*4 // synct_buf_2 + 16