[Gmp-commit] /var/hg/gmp: Recognize Tremont CPU variants.

mercurial at gmplib.org mercurial at gmplib.org
Mon Feb 14 01:12:07 CET 2022


details:   /var/hg/gmp/rev/85743ca79c51
changeset: 18302:85743ca79c51
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Mon Feb 14 01:12:03 2022 +0100
description:
Recognize Tremont CPU variants.

diffstat:

 config.guess |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r ed0406cf3c70 -r 85743ca79c51 config.guess
--- a/config.guess	Wed Feb 02 19:16:36 2022 +0100
+++ b/config.guess	Mon Feb 14 01:12:03 2022 +0100
@@ -923,13 +923,15 @@
           else if (model == 0x7a) cpu_64bit = 1,            modelstr = "goldmont";   /* Goldmont Plus */
           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 == 0x9e) cpu_64bit = 1, cpu_avx=1, modelstr = "icelake";    /* Ice Lake ? */
+          else if (model == 0x8a) cpu_64bit = 1,            modelstr = "goldmont";   /* Tremont */
           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 == 0x8f) cpu_64bit = 1, cpu_avx=1, modelstr = "alderlake";  /* Sapphire Rapids */
+          else if (model == 0x96) cpu_64bit = 1,            modelstr = "goldmont";   /* Tremont */
           else if (model == 0x97) cpu_64bit = 1, cpu_avx=1, modelstr = "alderlake";  /* Alder Lake S */
           else if (model == 0x9a) cpu_64bit = 1, cpu_avx=1, modelstr = "alderlake";  /* Alder Lake P */
+          else if (model == 0x9c) cpu_64bit = 1,            modelstr = "goldmont";   /* Tremont */
           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 */


More information about the gmp-commit mailing list