changeset 30321:354c9f4f5c64

Support for detection of AMD Phenom.
author zuxy
date Mon, 18 Jan 2010 03:06:43 +0000
parents 90c417401f02
children c5166957f6f1
files configure
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sun Jan 17 23:29:31 2010 +0000
+++ b/configure	Mon Jan 18 03:06:43 2010 +0000
@@ -1818,7 +1818,7 @@
         proc=k8
         ;;
 
-    *) proc=k8 iproc=686 ;;
+    *) proc=amdfam10 iproc=686 ;;
     esac
     ;;
   GenuineIntel)
@@ -2028,7 +2028,11 @@
     if test "$_runtime_cpudetection" = no ; then
       case "$pvendor" in
       AuthenticAMD)
-        proc=k8;;
+        case "$pfamily" in
+        15) proc=k8;;
+        *) proc=amdfam10;;
+        esac
+        ;;
       GenuineIntel)
         case "$pfamily" in
         6) proc=core2;;