diff internal.h @ 121:69714d5e1561 libavutil

Protect code that uses CMOV instructions with HAVE_CMOV, Make configure set CMOV_IS_FAST on arches on which cmov has a low latency (typically non-Netburst based processor)
author gpoirier
date Fri, 20 Oct 2006 17:53:19 +0000
parents d76a36742464
children bd1ecfd747bc
line wrap: on
line diff
--- a/internal.h	Wed Oct 11 23:17:58 2006 +0000
+++ b/internal.h	Fri Oct 20 17:53:19 2006 +0000
@@ -168,7 +168,7 @@
             level= (level^mask)-mask;
 #endif
 
-#if __CPU__ >= 686 && !defined(RUNTIME_CPUDETECT)
+#ifdef HAVE_CMOV
 #define COPY3_IF_LT(x,y,a,b,c,d)\
 asm volatile (\
     "cmpl %0, %3        \n\t"\