comparison configure @ 30267:eab765ebb521

The undocumented x86-64 is a better fallback for core2 than nocona.
author zuxy
date Fri, 15 Jan 2010 09:33:38 +0000
parents fe8671946fae
children 94b48d340c6d
comparison
equal deleted inserted replaced
30266:fe8671946fae 30267:eab765ebb521
2062 if test "$proc" = "athlon-xp"; then 2062 if test "$proc" = "athlon-xp"; then
2063 cc_check -march=$proc $cpuopt=$proc || proc=error 2063 cc_check -march=$proc $cpuopt=$proc || proc=error
2064 fi 2064 fi
2065 # --- Intel processors --- 2065 # --- Intel processors ---
2066 if test "$proc" = "core2"; then 2066 if test "$proc" = "core2"; then
2067 cc_check -march=$proc $cpuopt=$proc || proc=x86-64
2068 fi
2069 if test "$proc" = "x86-64"; then
2067 cc_check -march=$proc $cpuopt=$proc || proc=nocona 2070 cc_check -march=$proc $cpuopt=$proc || proc=nocona
2068 fi 2071 fi
2069 if test "$proc" = "nocona"; then 2072 if test "$proc" = "nocona"; then
2070 cc_check -march=$proc $cpuopt=$proc || proc=pentium4 2073 cc_check -march=$proc $cpuopt=$proc || proc=pentium4
2071 fi 2074 fi