# HG changeset patch # User reimar # Date 1368806378 0 # Node ID 8587ae275646bf6f19a2c5fb21794df64877c3ba # Parent 133747be9334f30c6e28d4a4491d3f440c5c08ee Rename HAVE_CMOV to HAVE_I686 for FFmpeg. Keep the cmov name in configure since it is less confusing, since cmov is what we test for and also since for example VIA C3 sometimes is considered i686 that does not implement the optional CMOV instruction. diff -r 133747be9334 -r 8587ae275646 configure --- a/configure Fri May 17 13:04:37 2013 +0000 +++ b/configure Fri May 17 15:59:38 2013 +0000 @@ -3122,7 +3122,7 @@ echores "$_iwmmxt" fi -cpuexts_all='ALTIVEC AVX MMX MMX2 MMXEXT AMD3DNOW AMD3DNOWEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE42 FAST_CMOV CMOV FAST_CLZ ARMV5TE ARMV6 ARMV6T2 VFP VFPV3 NEON IWMMXT MMI VIS MVI' +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' test "$_altivec" = yes && cpuexts="ALTIVEC $cpuexts" test "$_mmx" = yes && cpuexts="MMX $cpuexts" test "$_mmxext" = yes && cpuexts="MMX2 $cpuexts" @@ -3136,7 +3136,7 @@ test "$_sse4_1" = yes && cpuexts="SSE4 $cpuexts" test "$_sse4_2" = yes && cpuexts="SSE42 $cpuexts" test "$_avx" = yes && cpuexts="AVX $cpuexts" -test "$_cmov" = yes && cpuexts="CMOV $cpuexts" +test "$_cmov" = yes && cpuexts="I686 $cpuexts" test "$_fast_cmov" = yes && cpuexts="FAST_CMOV $cpuexts" test "$_fast_clz" = yes && cpuexts="FAST_CLZ $cpuexts" test "$_armv5te" = yes && cpuexts="ARMV5TE $cpuexts" diff -r 133747be9334 -r 8587ae275646 mpcommon.c --- a/mpcommon.c Fri May 17 13:04:37 2013 +0000 +++ b/mpcommon.c Fri May 17 15:59:38 2013 +0000 @@ -106,7 +106,7 @@ mp_msg(MSGT_CPLAYER,MSGL_V," SSE4.2"); if (HAVE_AVX) mp_msg(MSGT_CPLAYER,MSGL_V," AVX"); -if (HAVE_CMOV) +if (HAVE_I686) mp_msg(MSGT_CPLAYER,MSGL_V," CMOV"); mp_msg(MSGT_CPLAYER,MSGL_V,"\n"); #endif /* CONFIG_RUNTIME_CPUDETECT */