changeset 24352:9ee30cbeff75

Fix fast_cmov detection broken by r24371
author zuxy
date Sat, 08 Sep 2007 18:06:44 +0000
parents 5a92d4b9f1fb
children 6684a1b7c5b2
files configure
diffstat 1 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sat Sep 08 18:04:47 2007 +0000
+++ b/configure	Sat Sep 08 18:06:44 2007 +0000
@@ -1714,6 +1714,7 @@
 	else
 		proc=pentium4
 	fi
+	test $_fast_cmov = "auto" && _fast_cmov=no
 	;;
     *) proc=prescott iproc=686 ;;
     esac
@@ -1858,10 +1859,6 @@
 
     if test $_cmov = "yes" && test $_fast_cmov = "auto" ; then
         _fast_cmov="yes"
-        case "$proc" in
-            pentium4|prescott|nocona)
-                _fast_cmov="no"
-        esac
     else
         _fast_cmov="no"
     fi
@@ -1902,7 +1899,9 @@
         *)
           # 64-bit prescotts exist, but as far as GCC is concerned they
           # have the same capabilities as a nocona.
-          proc=nocona;;
+          proc=nocona
+          test $_fast_cmov = "auto" && _fast_cmov=no
+          ;;
         esac
         ;;
       *)