mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 12:09:55 +00:00
ARM: apply extern symbol prefix where needed
Originally committed as revision 20147 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
c7f7978ae3
commit
e654b7c29e
@ -36,7 +36,8 @@ ELF .eabi_attribute 25, \val
|
||||
|
||||
.macro function name, export=0
|
||||
.if \export
|
||||
.global \name
|
||||
.global EXTERN_ASM\name
|
||||
EXTERN_ASM\name:
|
||||
.endif
|
||||
ELF .type \name, %function
|
||||
.func \name
|
||||
@ -60,3 +61,7 @@ ELF .type \name, %function
|
||||
# define VFP @
|
||||
# define NOVFP
|
||||
#endif
|
||||
|
||||
#define GLUE(a, b) a ## b
|
||||
#define JOIN(a, b) GLUE(a, b)
|
||||
#define X(s) JOIN(EXTERN_ASM, s)
|
||||
|
@ -141,7 +141,7 @@ function fft16_neon
|
||||
vswp d29, d30 @ q14{r12,i12,i14,r15} q15{r13,i13,i15,r14}
|
||||
vadd.f32 q0, q12, q13 @ {t1,t2,t5,t6}
|
||||
vadd.f32 q1, q14, q15 @ {t1a,t2a,t5a,t6a}
|
||||
movrel r2, ff_cos_16
|
||||
movrel r2, X(ff_cos_16)
|
||||
vsub.f32 q13, q12, q13 @ {t3,t4,t7,t8}
|
||||
vrev64.32 d1, d1
|
||||
vsub.f32 q15, q14, q15 @ {t3a,t4a,t7a,t8a}
|
||||
@ -288,7 +288,7 @@ function fft\n\()_neon
|
||||
bl fft\n4\()_neon
|
||||
mov r0, r4
|
||||
pop {r4, lr}
|
||||
movrel r1, ff_cos_\n
|
||||
movrel r1, X(ff_cos_\n)
|
||||
mov r2, #\n4/2
|
||||
b fft_pass_neon
|
||||
.endfunc
|
||||
|
@ -24,6 +24,8 @@
|
||||
.fpu neon
|
||||
.text
|
||||
|
||||
#define ff_fft_calc_neon X(ff_fft_calc_neon)
|
||||
|
||||
function ff_imdct_half_neon, export=1
|
||||
push {r4-r8,lr}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user