diff options
author | Matt Turner <mattst88@gmail.com> | 2017-06-22 19:46:10 +0000 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2017-06-22 21:46:10 +0200 |
commit | 60edf8bbba843187e6b4700f41707bb9dd9cec14 (patch) | |
tree | e4de099703dae5c02d03f44b991b9e8f140a5a3c /libgcc/config | |
parent | 4333d74bab07cb91b535d2072cc0fad48cf24f49 (diff) | |
download | gcc-60edf8bbba843187e6b4700f41707bb9dd9cec14.zip gcc-60edf8bbba843187e6b4700f41707bb9dd9cec14.tar.gz gcc-60edf8bbba843187e6b4700f41707bb9dd9cec14.tar.bz2 |
driver-i386.c (host_detect_local_cpu): Add Kaby Lake models to skylake case.
gcc/
2017-06-22 Matt Turner <mattst88@gmail.com>
* config/i386/driver-i386.c (host_detect_local_cpu): Add Kaby
Lake models to skylake case. Assume skylake for unknown
models with clflushopt.
gcc/testsuite/
2017-06-22 Matt Turner <mattst88@gmail.com>
* gcc.target/i386/builtin_target.c: Add Kaby Lake models to
skylake check.
libgcc/
2017-06-22 Matt Turner <mattst88@gmail.com>
* config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
skylake case.
From-SVN: r249574
Diffstat (limited to 'libgcc/config')
-rw-r--r-- | libgcc/config/i386/cpuinfo.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libgcc/config/i386/cpuinfo.c b/libgcc/config/i386/cpuinfo.c index a1dc011..b008fb6 100644 --- a/libgcc/config/i386/cpuinfo.c +++ b/libgcc/config/i386/cpuinfo.c @@ -183,6 +183,9 @@ get_intel_cpu (unsigned int family, unsigned int model, unsigned int brand_id) case 0x4e: case 0x5e: /* Skylake. */ + case 0x8e: + case 0x9e: + /* Kaby Lake. */ __cpu_model.__cpu_type = INTEL_COREI7; __cpu_model.__cpu_subtype = INTEL_COREI7_SKYLAKE; break; |