summaryrefslogtreecommitdiff
path: root/graphics/ffmpeg/patches/patch-libavcodec_aarch64_mdct_neon_S
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ffmpeg/patches/patch-libavcodec_aarch64_mdct_neon_S')
-rw-r--r--graphics/ffmpeg/patches/patch-libavcodec_aarch64_mdct_neon_S61
1 files changed, 0 insertions, 61 deletions
diff --git a/graphics/ffmpeg/patches/patch-libavcodec_aarch64_mdct_neon_S b/graphics/ffmpeg/patches/patch-libavcodec_aarch64_mdct_neon_S
deleted file mode 100644
index 9d52877..0000000
--- a/graphics/ffmpeg/patches/patch-libavcodec_aarch64_mdct_neon_S
+++ /dev/null
@@ -1,61 +0,0 @@
1Index: libavcodec/aarch64/mdct_neon.S
2--- libavcodec/aarch64/mdct_neon.S.orig
3+++ libavcodec/aarch64/mdct_neon.S
4@@ -25,6 +25,7 @@
5 function ff_imdct_half_neon, export=1
6 sub sp, sp, #32
7 stp x19, x20, [sp]
8+ AARCH64_SIGN_LINK_REGISTER
9 str x30, [sp, #16]
10 mov x12, #1
11 ldr w14, [x0, #28] // mdct_bits
12@@ -121,6 +122,7 @@ function ff_imdct_half_neon, export=1
13
14 ldp x19, x20, [sp]
15 ldr x30, [sp, #16]
16+ AARCH64_VALIDATE_LINK_REGISTER
17 add sp, sp, #32
18
19 ret
20@@ -129,6 +131,7 @@ endfunc
21 function ff_imdct_calc_neon, export=1
22 sub sp, sp, #32
23 stp x19, x20, [sp]
24+ AARCH64_SIGN_LINK_REGISTER
25 str x30, [sp, #16]
26 ldr w3, [x0, #28] // mdct_bits
27 mov x19, #1
28@@ -160,8 +163,10 @@ function ff_imdct_calc_neon, export=1
29 subs x19, x19, #16
30 b.gt 1b
31
32- ldp x19, x20, [sp], #16
33- ldr x30, [sp], #16
34+ ldp x19, x20, [sp]
35+ ldr x30, [sp, #16]
36+ AARCH64_VALIDATE_LINK_REGISTER
37+ add sp, sp, #32
38
39 ret
40 endfunc
41@@ -170,6 +175,7 @@ endfunc
42 function ff_mdct_calc_neon, export=1
43 sub sp, sp, #32
44 stp x19, x20, [sp]
45+ AARCH64_SIGN_LINK_REGISTER
46 str x30, [sp, #16]
47
48 mov x12, #1
49@@ -317,7 +323,10 @@ function ff_mdct_calc_neon, export=1
50 st2 {v4.2s,v5.2s}, [x0]
51 st2 {v6.2s,v7.2s}, [x8]
52
53- ldp x19, x20, [sp], #16
54- ldr x30, [sp], #16
55+ ldp x19, x20, [sp]
56+ ldr x30, [sp, #16]
57+ AARCH64_VALIDATE_LINK_REGISTER
58+ add sp, sp, #32
59+
60 ret
61 endfunc