Commit 26b07cf9 by H.J. Lu Committed by liuhongt

x86: Update Intel processor detection

Add cpu model numbers for Intel Airmont, Tremont, Comet Lake, Ice Lake
and Tiger Lake processor families.

	* config/i386/driver-i386.c (host_detect_local_cpu): Support
	Intel Airmont, Tremont, Comet Lake, Ice Lake and Tiger Lake
	processor families.
parent 676250d6
...@@ -775,9 +775,12 @@ const char *host_detect_local_cpu (int argc, const char **argv) ...@@ -775,9 +775,12 @@ const char *host_detect_local_cpu (int argc, const char **argv)
case 0x37: case 0x37:
case 0x4a: case 0x4a:
case 0x4d: case 0x4d:
case 0x5a:
case 0x5d: case 0x5d:
/* Silvermont. */ /* Silvermont. */
case 0x4c:
case 0x5a:
case 0x75:
/* Airmont. */
cpu = "silvermont"; cpu = "silvermont";
break; break;
case 0x5c: case 0x5c:
...@@ -789,6 +792,12 @@ const char *host_detect_local_cpu (int argc, const char **argv) ...@@ -789,6 +792,12 @@ const char *host_detect_local_cpu (int argc, const char **argv)
/* Goldmont Plus. */ /* Goldmont Plus. */
cpu = "goldmont-plus"; cpu = "goldmont-plus";
break; break;
case 0x86:
case 0x96:
case 0x9c:
/* Tremont. */
cpu = "tremont";
break;
case 0x0f: case 0x0f:
/* Merom. */ /* Merom. */
case 0x17: case 0x17:
...@@ -839,6 +848,9 @@ const char *host_detect_local_cpu (int argc, const char **argv) ...@@ -839,6 +848,9 @@ const char *host_detect_local_cpu (int argc, const char **argv)
case 0x8e: case 0x8e:
case 0x9e: case 0x9e:
/* Kaby Lake. */ /* Kaby Lake. */
case 0xa5:
case 0xa6:
/* Comet Lake. */
cpu = "skylake"; cpu = "skylake";
break; break;
case 0x55: case 0x55:
...@@ -849,6 +861,22 @@ const char *host_detect_local_cpu (int argc, const char **argv) ...@@ -849,6 +861,22 @@ const char *host_detect_local_cpu (int argc, const char **argv)
/* Skylake with AVX-512. */ /* Skylake with AVX-512. */
cpu = "skylake-avx512"; cpu = "skylake-avx512";
break; break;
case 0x6a:
case 0x6c:
/* Ice Lake server. */
cpu = "icelake-server";
break;
case 0x7e:
case 0x7d:
case 0x9d:
/* Ice Lake client. */
cpu = "icelake-client";
break;
case 0x8c:
case 0x8d:
/* Tiger Lake. */
cpu = "tigerlake";
break;
case 0x57: case 0x57:
/* Knights Landing. */ /* Knights Landing. */
cpu = "knl"; cpu = "knl";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment