[MPlayer-cvslog] r36829 - trunk/configure

michael subversion at mplayerhq.hu
Thu Feb 13 23:08:31 CET 2014


Author: michael
Date: Thu Feb 13 23:08:30 2014
New Revision: 36829

Log:
configure: XOP support

fix build with latest ffmpeg

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Thu Feb 13 12:47:50 2014	(r36828)
+++ trunk/configure	Thu Feb 13 23:08:30 2014	(r36829)
@@ -571,6 +571,7 @@ Advanced options:
   --enable-sse4             enable SSE4 [autodetect]
   --enable-sse42            enable SSE4.2 [autodetect]
   --enable-avx              enable AVX [autodetect]
+  --enable-xop              enable XOP [autodetect]
   --enable-shm              enable shm [autodetect]
   --enable-altivec          enable AltiVec (PowerPC) [autodetect]
   --enable-armv5te          enable DSP extensions (ARM) [autodetect]
@@ -628,6 +629,7 @@ _ssse3=auto
 _sse4_1=auto
 _sse4_2=auto
 _avx=auto
+_xop=auto
 _cmov=auto
 _fast_cmov=auto
 _fast_clz=auto
@@ -1419,6 +1421,8 @@ for ac_option do
   --disable-sse42) _sse4_2=no;;
   --enable-avx) _avx=yes;;
   --disable-avx) _avx=no;;
+  --enable-xop) _xop=yes;;
+  --disable-xop) _xop=no;;
   --enable-mmxext) _mmxext=yes ;;
   --disable-mmxext) _mmxext=no ;;
   --enable-3dnow) _3dnow=yes ;;
@@ -1967,6 +1971,7 @@ EOF
   extcheck $_sse4_1   "sse4_1"   "pmaxsb %%xmm0, %%xmm0"
   extcheck $_sse4_2   "sse4_2"   "pcmpgtq %%xmm0, %%xmm0"
   extcheck $_avx      "avx"      "vpabsw %%xmm0, %%xmm0"
+  extcheck $_xop      "xop"      "vpmacsdd %%xmm0, %%xmm1, %%xmm2, %%xmm3"
   extcheck $_cmov     "cmov"     "cmovb %%eax,  %%ebx"
 
   echocheck "mtrr support"
@@ -2646,6 +2651,7 @@ if test "$_runtime_cpudetection" = yes ;
     test "$_sse4_1"   != no && _sse4_1=yes
     test "$_sse4_2"   != no && _sse4_2=yes
     test "$_avx"      != no && _avx=yes
+    test "$_xop"      != no && _xop=yes
     test "$_mtrr"     != no && _mtrr=yes
   fi
   if ppc; then
@@ -3146,7 +3152,7 @@ if arm ; then
   echores "$_iwmmxt"
 fi
 
-cpuexts_all='ALTIVEC AVX MMX MMX2 MMXEXT AMD3DNOW AMD3DNOWEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE42 FAST_CMOV I686 FAST_CLZ ARMV5TE ARMV6 ARMV6T2 VFP VFPV3 NEON IWMMXT MMI VIS MVI'
+cpuexts_all='ALTIVEC XOP AVX MMX MMX2 MMXEXT AMD3DNOW AMD3DNOWEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE42 FAST_CMOV I686 FAST_CLZ ARMV5TE ARMV6 ARMV6T2 VFP VFPV3 NEON IWMMXT MMI VIS MVI'
 test "$_altivec"   = yes && cpuexts="ALTIVEC $cpuexts"
 test "$_mmx"       = yes && cpuexts="MMX $cpuexts"
 test "$_mmxext"    = yes && cpuexts="MMX2 $cpuexts"
@@ -3160,6 +3166,7 @@ test "$_ssse3"     = yes && cpuexts="SSS
 test "$_sse4_1"    = yes && cpuexts="SSE4 $cpuexts"
 test "$_sse4_2"    = yes && cpuexts="SSE42 $cpuexts"
 test "$_avx"       = yes && cpuexts="AVX $cpuexts"
+test "$_xop"       = yes && cpuexts="XOP $cpuexts"
 test "$_cmov"      = yes && cpuexts="I686 $cpuexts"
 test "$_fast_cmov" = yes && cpuexts="FAST_CMOV $cpuexts"
 test "$_fast_clz"  = yes && cpuexts="FAST_CLZ $cpuexts"


More information about the MPlayer-cvslog mailing list