diff options
author | Mans Rullgard <mans@mansr.com> | 2012-12-05 02:11:22 +0000 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2012-12-07 16:54:04 +0000 |
commit | b57c1da81e4f9d46af6ad9f69e6e2255d5b8aaff (patch) | |
tree | f5f6804392c42566ca2210de5b8d08355177f0dc /configure | |
parent | b326755989b346d0d935e0628e8865f9b2951c30 (diff) | |
download | ffmpeg-b57c1da81e4f9d46af6ad9f69e6e2255d5b8aaff.tar.gz |
arm: detect cpu features at runtime on Linux
This allows compiling optimised functions for features not enabled
in the core build and selecting these at runtime if the system has
the necessary support.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -3161,7 +3161,9 @@ EOF enabled vfp && check_insn vfp 'fadds s0, s0, s0' enabled vfpv3 && check_insn vfpv3 'vmov.f32 s0, #1.0' - map 'enabled_any ${v}_external ${v}_inline || disable $v' $ARCH_EXT_LIST_ARM + [ $target_os = linux ] || + map 'enabled_any ${v}_external ${v}_inline || disable $v' \ + $ARCH_EXT_LIST_ARM check_inline_asm asm_mod_q '"add r0, %Q0, %R0" :: "r"((long long)0)' check_inline_asm asm_mod_y '"vmul.i32 d0, d0, %y0" :: "x"(0)' |