[MPlayer-cvslog] r33586 - trunk/configure

reimar subversion at mplayerhq.hu
Sat Jun 11 18:38:50 CEST 2011


Author: reimar
Date: Sat Jun 11 18:38:49 2011
New Revision: 33586

Log:
Add support for detecting VFPV3, required for compiling libavcodec for some
ARM targets.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Sat Jun 11 18:28:37 2011	(r33585)
+++ trunk/configure	Sat Jun 11 18:38:49 2011	(r33586)
@@ -559,6 +559,7 @@ Advanced options:
   --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 @@ _armv5te=auto
 _armv6=auto
 _armv6t2=auto
 _armvfp=auto
+vfpv3=auto
 neon=auto
 _iwmmxt=auto
 _mtrr=auto
@@ -1404,6 +1406,8 @@ for ac_option do
   --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 @@ if arm ; then
   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 @@ if arm ; then
   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 "$_armv5te"   = yes && cpuexts="ARM
 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"


More information about the MPlayer-cvslog mailing list