summaryrefslogtreecommitdiff
path: root/graphics/ffmpeg/patches/patch-libavcodec_aarch64_fft_neon_S
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ffmpeg/patches/patch-libavcodec_aarch64_fft_neon_S')
-rw-r--r--graphics/ffmpeg/patches/patch-libavcodec_aarch64_fft_neon_S44
1 files changed, 0 insertions, 44 deletions
diff --git a/graphics/ffmpeg/patches/patch-libavcodec_aarch64_fft_neon_S b/graphics/ffmpeg/patches/patch-libavcodec_aarch64_fft_neon_S
deleted file mode 100644
index 4e1e646..0000000
--- a/graphics/ffmpeg/patches/patch-libavcodec_aarch64_fft_neon_S
+++ /dev/null
@@ -1,44 +0,0 @@
1Index: libavcodec/aarch64/fft_neon.S
2--- libavcodec/aarch64/fft_neon.S.orig
3+++ libavcodec/aarch64/fft_neon.S
4@@ -36,6 +36,7 @@
5
6
7 function fft4_neon
8+ AARCH64_VALID_JUMP_TARGET
9 ld1 {v0.2s,v1.2s,v2.2s,v3.2s}, [x0]
10
11 fadd v4.2s, v0.2s, v1.2s // r0+r1,i0+i1
12@@ -58,6 +59,7 @@ function fft4_neon
13 endfunc
14
15 function fft8_neon
16+ AARCH64_VALID_JUMP_TARGET
17 mov x1, x0
18 ld1 {v0.2s, v1.2s, v2.2s, v3.2s}, [x0], #32
19 ld1 {v16.2s,v17.2s,v18.2s,v19.2s}, [x0]
20@@ -108,6 +110,7 @@ function fft8_neon
21 endfunc
22
23 function fft16_neon
24+ AARCH64_VALID_JUMP_TARGET
25 mov x1, x0
26 ld1 {v0.2s, v1.2s, v2.2s, v3.2s}, [x0], #32
27 ld1 {v16.2s,v17.2s,v18.2s,v19.2s}, [x0], #32
28@@ -337,6 +340,8 @@ endfunc
29
30 .macro def_fft n, n2, n4
31 function fft\n\()_neon, align=6
32+ AARCH64_VALID_JUMP_TARGET
33+ AARCH64_SIGN_LINK_REGISTER
34 sub sp, sp, #16
35 stp x28, x30, [sp]
36 add x28, x0, #\n4*2*8
37@@ -347,6 +352,7 @@ function fft\n\()_neon, align=6
38 bl fft\n4\()_neon
39 sub x0, x28, #\n4*2*8
40 ldp x28, x30, [sp], #16
41+ AARCH64_VALIDATE_LINK_REGISTER
42 movrel x4, X(ff_cos_\n)
43 mov x2, #\n4>>1
44 b fft_pass_neon