61 lines
2 KiB
Text
61 lines
2 KiB
Text
Index: libavcodec/aarch64/mdct_neon.S
|
|
--- libavcodec/aarch64/mdct_neon.S.orig
|
|
+++ libavcodec/aarch64/mdct_neon.S
|
|
@@ -25,6 +25,7 @@
|
|
function ff_imdct_half_neon, export=1
|
|
sub sp, sp, #32
|
|
stp x19, x20, [sp]
|
|
+ AARCH64_SIGN_LINK_REGISTER
|
|
str x30, [sp, #16]
|
|
mov x12, #1
|
|
ldr w14, [x0, #28] // mdct_bits
|
|
@@ -121,6 +122,7 @@ function ff_imdct_half_neon, export=1
|
|
|
|
ldp x19, x20, [sp]
|
|
ldr x30, [sp, #16]
|
|
+ AARCH64_VALIDATE_LINK_REGISTER
|
|
add sp, sp, #32
|
|
|
|
ret
|
|
@@ -129,6 +131,7 @@ endfunc
|
|
function ff_imdct_calc_neon, export=1
|
|
sub sp, sp, #32
|
|
stp x19, x20, [sp]
|
|
+ AARCH64_SIGN_LINK_REGISTER
|
|
str x30, [sp, #16]
|
|
ldr w3, [x0, #28] // mdct_bits
|
|
mov x19, #1
|
|
@@ -160,8 +163,10 @@ function ff_imdct_calc_neon, export=1
|
|
subs x19, x19, #16
|
|
b.gt 1b
|
|
|
|
- ldp x19, x20, [sp], #16
|
|
- ldr x30, [sp], #16
|
|
+ ldp x19, x20, [sp]
|
|
+ ldr x30, [sp, #16]
|
|
+ AARCH64_VALIDATE_LINK_REGISTER
|
|
+ add sp, sp, #32
|
|
|
|
ret
|
|
endfunc
|
|
@@ -170,6 +175,7 @@ endfunc
|
|
function ff_mdct_calc_neon, export=1
|
|
sub sp, sp, #32
|
|
stp x19, x20, [sp]
|
|
+ AARCH64_SIGN_LINK_REGISTER
|
|
str x30, [sp, #16]
|
|
|
|
mov x12, #1
|
|
@@ -317,7 +323,10 @@ function ff_mdct_calc_neon, export=1
|
|
st2 {v4.2s,v5.2s}, [x0]
|
|
st2 {v6.2s,v7.2s}, [x8]
|
|
|
|
- ldp x19, x20, [sp], #16
|
|
- ldr x30, [sp], #16
|
|
+ ldp x19, x20, [sp]
|
|
+ ldr x30, [sp, #16]
|
|
+ AARCH64_VALIDATE_LINK_REGISTER
|
|
+ add sp, sp, #32
|
|
+
|
|
ret
|
|
endfunc
|