summaryrefslogtreecommitdiff
path: root/libgcc/config/i386/cpuinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgcc/config/i386/cpuinfo.c')
-rw-r--r--libgcc/config/i386/cpuinfo.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libgcc/config/i386/cpuinfo.c b/libgcc/config/i386/cpuinfo.c
index 25d85e4bedd..b7b11de9865 100644
--- a/libgcc/config/i386/cpuinfo.c
+++ b/libgcc/config/i386/cpuinfo.c
@@ -56,6 +56,7 @@ enum processor_types
AMDFAM10H,
AMDFAM15H,
INTEL_SILVERMONT,
+ INTEL_KNL,
AMD_BTVER1,
AMD_BTVER2,
CPU_TYPE_MAX
@@ -197,6 +198,10 @@ get_intel_cpu (unsigned int family, unsigned int model, unsigned int brand_id)
/* Silvermont. */
__cpu_model.__cpu_type = INTEL_SILVERMONT;
break;
+ case 0x57:
+ /* Knights Landing. */
+ __cpu_model.__cpu_type = INTEL_KNL;
+ break;
case 0x1a:
case 0x1e:
case 0x1f: