diff options
author | Hu, Lin1 <lin1.hu@intel.com> | 2022-09-16 11:25:13 +0800 |
---|---|---|
committer | Haochen Jiang <haochen.jiang@intel.com> | 2022-10-17 10:50:04 +0800 |
commit | fd206f0e95fb6f41b96eaaaab1dc0c30378e5e08 (patch) | |
tree | b199ce04801d0d8c2b23b19ee684fabcf49a6d37 /gcc/common | |
parent | 470a0659b508d684148f362c4dc0eccf5a83a23e (diff) | |
download | gcc-fd206f0e95fb6f41b96eaaaab1dc0c30378e5e08.zip gcc-fd206f0e95fb6f41b96eaaaab1dc0c30378e5e08.tar.gz gcc-fd206f0e95fb6f41b96eaaaab1dc0c30378e5e08.tar.bz2 |
Initial Meteorlake Support
gcc/ChangeLog:
* common/config/i386/cpuinfo.h:
(get_intel_cpu): Handle Meteorlake.
* common/config/i386/i386-common.cc:
(processor_alias_table): Add Meteorlake.
Diffstat (limited to 'gcc/common')
-rw-r--r-- | gcc/common/config/i386/cpuinfo.h | 4 | ||||
-rw-r--r-- | gcc/common/config/i386/i386-common.cc | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/common/config/i386/cpuinfo.h b/gcc/common/config/i386/cpuinfo.h index e759e6f..b5c1b21 100644 --- a/gcc/common/config/i386/cpuinfo.h +++ b/gcc/common/config/i386/cpuinfo.h @@ -498,6 +498,10 @@ get_intel_cpu (struct __processor_model *cpu_model, /* Alder Lake. */ case 0xb7: /* Raptor Lake. */ + case 0xb5: + case 0xaa: + case 0xac: + /* Meteor Lake. */ cpu = "alderlake"; CHECK___builtin_cpu_is ("corei7"); CHECK___builtin_cpu_is ("alderlake"); diff --git a/gcc/common/config/i386/i386-common.cc b/gcc/common/config/i386/i386-common.cc index 8d34624..d6a68dc 100644 --- a/gcc/common/config/i386/i386-common.cc +++ b/gcc/common/config/i386/i386-common.cc @@ -1931,6 +1931,8 @@ const pta processor_alias_table[] = M_CPU_SUBTYPE (INTEL_COREI7_ALDERLAKE), P_PROC_AVX2}, {"raptorlake", PROCESSOR_ALDERLAKE, CPU_HASWELL, PTA_ALDERLAKE, M_CPU_SUBTYPE (INTEL_COREI7_ALDERLAKE), P_PROC_AVX2}, + {"meteorlake", PROCESSOR_ALDERLAKE, CPU_HASWELL, PTA_ALDERLAKE, + M_CPU_SUBTYPE (INTEL_COREI7_ALDERLAKE), P_PROC_AVX2}, {"bonnell", PROCESSOR_BONNELL, CPU_ATOM, PTA_BONNELL, M_CPU_TYPE (INTEL_BONNELL), P_PROC_SSSE3}, {"atom", PROCESSOR_BONNELL, CPU_ATOM, PTA_BONNELL, |