summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-08-07 18:34:35 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-08-13 14:50:15 +0200
commit1e519b9d407fd35538b8d4dfdc723448355e9fe1 (patch)
tree6b0389e282867cc19c9cd32a2af7030e10d4c081 /configure
parent9f61d6d8fb658ec5156f323d5c2264de5383b951 (diff)
downloadffmpeg-streaming-1e519b9d407fd35538b8d4dfdc723448355e9fe1.zip
ffmpeg-streaming-1e519b9d407fd35538b8d4dfdc723448355e9fe1.tar.gz
avutil: turn arm setend into a cpuflag
this allows disabling and enabling it it also prevents crashes if vfpv3 and neon are disabled which previously would have enabled the flag And last but not least one can enable setend on cpus like cortex-a8 where its fast but disabled by default Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index dfbadd0..1224362 100755
--- a/configure
+++ b/configure
@@ -1525,6 +1525,7 @@ ARCH_EXT_LIST_ARM="
neon
vfp
vfpv3
+ setend
"
ARCH_EXT_LIST_MIPS="
@@ -1951,6 +1952,7 @@ neon_deps_any="aarch64 arm"
intrinsics_neon_deps="neon"
vfp_deps_any="aarch64 arm"
vfpv3_deps="vfp"
+setend_deps="arm"
map 'eval ${v}_inline_deps=inline_asm' $ARCH_EXT_LIST_ARM
@@ -4447,6 +4449,7 @@ EOF
enabled neon && check_insn neon 'vadd.i16 q0, q0, q0'
enabled vfp && check_insn vfp 'fadds s0, s0, s0'
enabled vfpv3 && check_insn vfpv3 'vmov.f32 s0, #1.0'
+ enabled setend && check_insn setend 'setend be'
[ $target_os = linux ] || [ $target_os = android ] ||
map 'enabled_any ${v}_external ${v}_inline || disable $v' \
OpenPOWER on IntegriCloud