diff options
author | Torbjorn Granlund <tg@gmplib.org> | 2021-05-02 09:01:13 +0200 |
---|---|---|
committer | Torbjorn Granlund <tg@gmplib.org> | 2021-05-02 09:01:13 +0200 |
commit | 0b28d12065279c535c874a60e8615b8787eaf7ce (patch) | |
tree | 560b6bdf7cbb0848967658ed96dd8928fb9e8000 /config.guess | |
parent | a5b2a5231f089af1b0fa8f199ca7547e0ad71a81 (diff) | |
download | gmp-0b28d12065279c535c874a60e8615b8787eaf7ce.tar.gz |
Recognise CPUs icelake, tigerlake, and rocketlake.
Clean up handling of several Intel CPUs.
Diffstat (limited to 'config.guess')
-rwxr-xr-x | config.guess | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/config.guess b/config.guess index 64b6e76bf..7d0d95b3b 100755 --- a/config.guess +++ b/config.guess @@ -919,8 +919,13 @@ main () else if (model == 0x5e) cpu_64bit = 1, cpu_avx=1, modelstr = "skylake"; /* Skylake */ else if (model == 0x5f) cpu_64bit = 1, modelstr = "goldmont"; /* Goldmont */ else if (model == 0x7a) cpu_64bit = 1, modelstr = "goldmont"; /* Goldmont Plus */ - else if (model == 0x8e) cpu_64bit = 1, cpu_avx=1, modelstr = "kabylake"; /* Kabylake Y/U */ - else if (model == 0x9e) cpu_64bit = 1, cpu_avx=1, modelstr = "kabylake"; /* Kabylake desktop */ + else if (model == 0x7d) cpu_64bit = 1, cpu_avx=1, modelstr = "icelake"; /* Ice Lake Y */ + else if (model == 0x7e) cpu_64bit = 1, cpu_avx=1, modelstr = "icelake"; /* Ice Lake U */ + else if (model == 0x8c) cpu_64bit = 1, cpu_avx=1, modelstr = "tigerlake"; /* Tiger Lake U */ + else if (model == 0x8d) cpu_64bit = 1, cpu_avx=1, modelstr = "tigerlake"; /* Tiger Lake H */ + else if (model == 0x8e) cpu_64bit = 1, cpu_avx=1, modelstr = "kabylake"; /* Kaby Lake Y/U */ + else if (model == 0x9e) cpu_64bit = 1, cpu_avx=1, modelstr = "kabylake"; /* Kaby Lake desktop */ + else if (model == 0xa7) cpu_64bit = 1, cpu_avx=1, modelstr = "rocketlake"; /* Rocket Lake S */ else cpu_64bit = 1, modelstr = "nehalem"; /* default */ if (strcmp (modelstr, "haswell") == 0 || |