diff options
Diffstat (limited to 'libgcc')
-rw-r--r-- | libgcc/ChangeLog | 5 | ||||
-rw-r--r-- | libgcc/config/i386/cpuinfo.c | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 085dc05..5ce8f72 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,8 @@ +2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com> + + * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake. + (get_intel_cpu): Likewise. + 2015-08-12 H.J. Lu <hongjiu.lu@intel.com> * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL. diff --git a/libgcc/config/i386/cpuinfo.c b/libgcc/config/i386/cpuinfo.c index b7b11de..1436775 100644 --- a/libgcc/config/i386/cpuinfo.c +++ b/libgcc/config/i386/cpuinfo.c @@ -77,6 +77,7 @@ enum processor_subtypes INTEL_COREI7_IVYBRIDGE, INTEL_COREI7_HASWELL, INTEL_COREI7_BROADWELL, + INTEL_COREI7_SKYLAKE, CPU_SUBTYPE_MAX }; @@ -245,6 +246,12 @@ get_intel_cpu (unsigned int family, unsigned int model, unsigned int brand_id) __cpu_model.__cpu_type = INTEL_COREI7; __cpu_model.__cpu_subtype = INTEL_COREI7_BROADWELL; break; + case 0x4e: + case 0x5e: + /* Skylake. */ + __cpu_model.__cpu_type = INTEL_COREI7; + __cpu_model.__cpu_subtype = INTEL_COREI7_SKYLAKE; + break; case 0x17: case 0x1d: /* Penryn. */ |