diff options
author | Torbjorn Granlund <tege@gmplib.org> | 2010-12-01 19:11:56 +0100 |
---|---|---|
committer | Torbjorn Granlund <tege@gmplib.org> | 2010-12-01 19:11:56 +0100 |
commit | cc34aaa23d206834c38d85e8898dff791d9f65a3 (patch) | |
tree | d8cabf33673d746345ee7b8846f282e278363365 /config.guess | |
parent | d873dac026135251f5885c10b9c5adbf321c0484 (diff) | |
download | gmp-cc34aaa23d206834c38d85e8898dff791d9f65a3.tar.gz |
Match new AMD processors, allow finer distinctions among old ones.
Diffstat (limited to 'config.guess')
-rwxr-xr-x | config.guess | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/config.guess b/config.guess index 8a0b20b31..1596f2167 100755 --- a/config.guess +++ b/config.guess @@ -777,9 +777,29 @@ main () case 6: modelstr = "athlon"; break; - case 15: - case 16: - cpu_64bit = 1, modelstr = "athlon64"; + case 15: /* K8, K9 */ + cpu_64bit = 1, modelstr = "k8"; + break; + case 16: /* K10 */ + cpu_64bit = 1, modelstr = "k10"; + break; + case 17: /* AMD Internal, assume future K10 */ + cpu_64bit = 1, modelstr = "k10"; + break; + case 18: /* Llano, uses K10 core */ + cpu_64bit = 1, modelstr = "k10"; + break; + case 19: /* AMD Internal, assume future K10 */ + cpu_64bit = 1, modelstr = "k10"; + break; + case 20: /* Bobcat */ + cpu_64bit = 1, modelstr = "bobcat"; + break; + case 21: /* Bulldozer */ + cpu_64bit = 1, modelstr = "bulldozer"; + break; + case 22: /* AMD Internal, assume future bulldozer */ + cpu_64bit = 1, modelstr = "bulldozer"; break; } } |