Mercurial > mplayer.hg
changeset 33498:a2700dc1d5e6
Add support for detecting VFPV3, required for compiling libavcodec for some
ARM targets.
author | reimar |
---|---|
date | Sat, 11 Jun 2011 16:38:49 +0000 |
parents | ce4d5759f9c1 |
children | e4f533bf5a9a |
files | configure |
diffstat | 1 files changed, 13 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Sat Jun 11 16:28:37 2011 +0000 +++ b/configure Sat Jun 11 16:38:49 2011 +0000 @@ -559,6 +559,7 @@ --enable-armv6 enable ARMv6 (ARM) [autodetect] --enable-armv6t2 enable ARMv6t2 (ARM) [autodetect] --enable-armvfp enable ARM VFP (ARM) [autodetect] + --enable-vfpv3 enable ARM VFPV3 (ARM) [autodetect] --enable-neon enable NEON (ARM) [autodetect] --enable-iwmmxt enable iWMMXt (ARM) [autodetect] --disable-fastmemcpy disable 3DNow!/SSE/MMX optimized memcpy [enable] @@ -610,6 +611,7 @@ _armv6=auto _armv6t2=auto _armvfp=auto +vfpv3=auto neon=auto _iwmmxt=auto _mtrr=auto @@ -1404,6 +1406,8 @@ --disable-armv6t2) _armv6t2=no ;; --enable-armvfp) _armvfp=yes ;; --disable-armvfp) _armvfp=no ;; + --enable-vfpv3) vfpv3=yes ;; + --disable-vfpv3) vfpv3=no ;; --enable-neon) neon=yes ;; --disable-neon) neon=no ;; --enable-iwmmxt) _iwmmxt=yes ;; @@ -2911,6 +2915,13 @@ fi echores "$_armvfp" + echocheck "ARM VFPV3" + if test $vfpv3 = "auto" ; then + vfpv3=no + inline_asm_check '"vmov.f32 s0, #1.0"' && vfpv3=yes + fi + echores "$vfpv3" + echocheck "ARM NEON" if test $neon = "auto" ; then neon=no @@ -2926,7 +2937,7 @@ echores "$_iwmmxt" fi -cpuexts_all='ALTIVEC MMX MMX2 AMD3DNOW AMD3DNOWEXT SSE SSE2 SSSE3 FAST_CMOV CMOV FAST_CLZ PLD ARMV5TE ARMV6 ARMV6T2 ARMVFP NEON IWMMXT MMI VIS MVI' +cpuexts_all='ALTIVEC MMX MMX2 AMD3DNOW AMD3DNOWEXT SSE SSE2 SSSE3 FAST_CMOV CMOV FAST_CLZ PLD ARMV5TE ARMV6 ARMV6T2 ARMVFP VFPV3 NEON IWMMXT MMI VIS MVI' test "$_altivec" = yes && cpuexts="ALTIVEC $cpuexts" test "$_mmx" = yes && cpuexts="MMX $cpuexts" test "$_mmxext" = yes && cpuexts="MMX2 $cpuexts" @@ -2943,6 +2954,7 @@ test "$_armv6" = yes && cpuexts="ARMV6 $cpuexts" test "$_armv6t2" = yes && cpuexts="ARMV6T2 $cpuexts" test "$_armvfp" = yes && cpuexts="ARMVFP $cpuexts" +test "$vfpv3" = yes && cpuexts="VFPV3 $cpuexts" test "$neon" = yes && cpuexts="NEON $cpuexts" test "$_iwmmxt" = yes && cpuexts="IWMMXT $cpuexts" test "$_vis" = yes && cpuexts="VIS $cpuexts"