# HG changeset patch # User diego # Date 1174235411 0 # Node ID 3c95443b39a29fa744cc5e813af566b9669f219e # Parent 195fe655267c1c382f928ee5d1a6cae5bffa4e5a Move fast cmov detection code from the PPC section into the x86 section where it has a chance of actually being executed and fix the obvious syntax errors it contained in the process. diff -r 195fe655267c -r 3c95443b39a2 configure --- a/configure Sun Mar 18 16:14:25 2007 +0000 +++ b/configure Sun Mar 18 16:30:11 2007 +0000 @@ -1787,6 +1787,16 @@ esac fi + 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 + echores "$proc" ;; @@ -1973,17 +1983,6 @@ echores "$proc" fi - #FIXME: The runtime CPU detection could check this as well. - 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 - echocheck "GCC & CPU optimization abilities" if test -n "$proc"; then