diff options
author | Mans Rullgard <mans@mansr.com> | 2011-07-09 12:37:08 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-07-10 17:56:06 +0100 |
commit | 11043d80f60ca37330f5f1afb8ee956665a71290 (patch) | |
tree | 4130024372ffb84b30112245fa8b156db912c62b /libavcodec/arm/fft_neon.S | |
parent | 39c2a6bf44b25534fdbc9b6ac3844dab28ba5b0e (diff) | |
download | ffmpeg-11043d80f60ca37330f5f1afb8ee956665a71290.tar.gz |
ARM: use const macro to define constant data in asm
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/arm/fft_neon.S')
-rw-r--r-- | libavcodec/arm/fft_neon.S | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/libavcodec/arm/fft_neon.S b/libavcodec/arm/fft_neon.S index 887621834e..b79a2dc265 100644 --- a/libavcodec/arm/fft_neon.S +++ b/libavcodec/arm/fft_neon.S @@ -349,9 +349,7 @@ function ff_fft_permute_neon, export=1 pop {r4,pc} endfunc - .section .rodata - .align 4 -fft_tab_neon: +const fft_tab_neon .word fft4_neon .word fft8_neon .word fft16_neon @@ -367,8 +365,12 @@ fft_tab_neon: .word fft16384_neon .word fft32768_neon .word fft65536_neon -ELF .size fft_tab_neon, . - fft_tab_neon +endconst - .align 4 -pmmp: .float +1.0, -1.0, -1.0, +1.0 -mppm: .float -M_SQRT1_2, M_SQRT1_2, M_SQRT1_2, -M_SQRT1_2 +const pmmp, align=4 + .float +1.0, -1.0, -1.0, +1.0 +endconst + +const mppm, align=4 + .float -M_SQRT1_2, M_SQRT1_2, M_SQRT1_2, -M_SQRT1_2 +endconst |