diff options
author | ienkovich <ienkovich@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-08-14 09:11:01 +0000 |
---|---|---|
committer | ienkovich <ienkovich@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-08-14 09:11:01 +0000 |
commit | 58bb1dbe2058c8278ae8c3ff1af7b2ab670e4520 (patch) | |
tree | 3e17404aac04444dfaf53e5e24d61d0d0b35b04b /libgcc | |
parent | 2d511d1ee03298d7a3bf8718eac823291a4c955d (diff) | |
download | gcc-58bb1dbe2058c8278ae8c3ff1af7b2ab670e4520.tar.gz |
gcc/
* config/i386/driver-i386.c (host_detect_local_cpu): Add support
for skylake.
* config/i386/i386.c (PTA_SKYLAKE): New macros.
(processor_alias_table): Add skylake description.
(enum processor_model): Add skylake processor.
(arch_names_table): Add skylake record.
* doc/invoke.texi: Add skylake item.
gcc/testsuite/
* gcc.target/i386/builtin_target.c: Add skylake check.
libgcc/
* config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
(get_intel_cpu): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226884 138bc75d-0d04-0410-961f-82ee72b054a4
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 085dc0597ad..5ce8f7261ee 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 b7b11de9865..14367754828 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. */ |