comparison configure @ 30265:a70cdb4450f5

Set HAVE_FAST_CMOV to 0 for NetBurst based x86-64 processors, e.g. Prescott.
author zuxy
date Fri, 15 Jan 2010 09:10:23 +0000
parents 98cc153d1726
children fe8671946fae
comparison
equal deleted inserted replaced
30264:1032ff2e83f1 30265:a70cdb4450f5
2022 if test "$cc_vendor" = "gnu" && test "$_cc_major" -gt 3 -o "$_cc_major" -eq 3 -a "$_cc_minor" -ge 4 ; then 2022 if test "$cc_vendor" = "gnu" && test "$_cc_major" -gt 3 -o "$_cc_major" -eq 3 -a "$_cc_minor" -ge 4 ; then
2023 cpuopt=-mtune 2023 cpuopt=-mtune
2024 else 2024 else
2025 cpuopt=-mcpu 2025 cpuopt=-mcpu
2026 fi 2026 fi
2027 test $_fast_cmov = "auto" && _fast_cmov=yes
2028 if test "$_runtime_cpudetection" = no ; then 2027 if test "$_runtime_cpudetection" = no ; then
2029 case "$pvendor" in 2028 case "$pvendor" in
2030 AuthenticAMD) 2029 AuthenticAMD)
2031 proc=k8;; 2030 proc=k8;;
2032 GenuineIntel) 2031 GenuineIntel)
2034 6) proc=core2;; 2033 6) proc=core2;;
2035 *) 2034 *)
2036 # 64-bit prescotts exist, but as far as GCC is concerned they 2035 # 64-bit prescotts exist, but as far as GCC is concerned they
2037 # have the same capabilities as a nocona. 2036 # have the same capabilities as a nocona.
2038 proc=nocona 2037 proc=nocona
2038 test $_fast_cmov = "auto" && _fast_cmov=no
2039 ;; 2039 ;;
2040 esac 2040 esac
2041 ;; 2041 ;;
2042 *) 2042 *)
2043 proc=error;; 2043 proc=error;;
2087 cc_check $_mcpu || _mcpu="" 2087 cc_check $_mcpu || _mcpu=""
2088 cc_check $_march $_mcpu || _march="" 2088 cc_check $_march $_mcpu || _march=""
2089 fi 2089 fi
2090 2090
2091 _optimizing="" 2091 _optimizing=""
2092 test $_fast_cmov = "auto" && _fast_cmov=yes
2092 2093
2093 echores "$proc" 2094 echores "$proc"
2094 ;; 2095 ;;
2095 2096
2096 sparc|sparc64) 2097 sparc|sparc64)