[FFmpeg-cvslog] r21216 - trunk/configure

mru subversion
Thu Jan 14 20:58:09 CET 2010


Author: mru
Date: Thu Jan 14 20:58:09 2010
New Revision: 21216

Log:
Set HAVE_FAST_CLZ if CPU has a fast count leading zeros instruction

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Thu Jan 14 19:25:38 2010	(r21215)
+++ trunk/configure	Thu Jan 14 20:58:09 2010	(r21216)
@@ -962,6 +962,7 @@ HAVE_LIST="
     exp2
     exp2f
     fast_64bit
+    fast_clz
     fast_cmov
     fast_unaligned
     fork
@@ -1094,6 +1095,8 @@ sse_deps="mmx"
 ssse3_deps="sse"
 vis_deps="sparc"
 
+fast_clz_if_any="alpha armv5te avr32 mips ppc x86"
+
 need_memalign="altivec neon sse"
 inline_asm_deps="!tms470"
 
@@ -2312,6 +2315,12 @@ EOF
     esac
     disabled yasm || { check_yasm "pabsw xmm0, xmm0" && enable yasm; }
 
+    case "$cpu" in
+        athlon*|opteron*|k8*|pentium|pentium-mmx|prescott|nocona|atom|geode)
+            disable fast_clz
+        ;;
+    esac
+
 fi
 
 if check_func dlopen; then



More information about the ffmpeg-cvslog mailing list