* [PATCH 0/2] Add new Intel Architecture @ 2022-10-14 7:40 Haochen Jiang 2022-10-14 7:40 ` [PATCH 1/2] Initial Raptorlake Support Haochen Jiang 2022-10-14 7:40 ` [PATCH 2/2] Initial Meteorlake Support Haochen Jiang 0 siblings, 2 replies; 5+ messages in thread From: Haochen Jiang @ 2022-10-14 7:40 UTC (permalink / raw) To: gcc-patches; +Cc: hongtao.liu, ubizjak Hi all, These two patches aimed to add new Intel processors according to newly released Intel Architecture Instruction Set Extensions and Future Features. The document comes following: https://www.intel.com/content/www/us/en/develop/download/intel-architecture-instruction-set-extensions-programming-reference.html Regtested on x86_64-pc-linux-gnu. Ok for trunk? BRs, Haochen ^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/2] Initial Raptorlake Support 2022-10-14 7:40 [PATCH 0/2] Add new Intel Architecture Haochen Jiang @ 2022-10-14 7:40 ` Haochen Jiang 2022-10-17 1:13 ` Hongtao Liu 2022-10-14 7:40 ` [PATCH 2/2] Initial Meteorlake Support Haochen Jiang 1 sibling, 1 reply; 5+ messages in thread From: Haochen Jiang @ 2022-10-14 7:40 UTC (permalink / raw) To: gcc-patches; +Cc: hongtao.liu, ubizjak gcc/ChangeLog: * common/config/i386/cpuinfo.h: (get_intel_cpu): Handle Raptorlake. * common/config/i386/i386-common.cc: (processor_alias_table): Add Raptorlake. --- gcc/common/config/i386/cpuinfo.h | 2 ++ gcc/common/config/i386/i386-common.cc | 2 ++ 2 files changed, 4 insertions(+) diff --git a/gcc/common/config/i386/cpuinfo.h b/gcc/common/config/i386/cpuinfo.h index bbced8a23b9..e759e6f89fa 100644 --- a/gcc/common/config/i386/cpuinfo.h +++ b/gcc/common/config/i386/cpuinfo.h @@ -496,6 +496,8 @@ get_intel_cpu (struct __processor_model *cpu_model, case 0x9a: case 0xbf: /* Alder Lake. */ + case 0xb7: + /* Raptor 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 c0c2ad74d87..8d346245ddd 100644 --- a/gcc/common/config/i386/i386-common.cc +++ b/gcc/common/config/i386/i386-common.cc @@ -1929,6 +1929,8 @@ const pta processor_alias_table[] = M_CPU_SUBTYPE (INTEL_COREI7_SAPPHIRERAPIDS), P_PROC_AVX512F}, {"alderlake", PROCESSOR_ALDERLAKE, CPU_HASWELL, PTA_ALDERLAKE, 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}, {"bonnell", PROCESSOR_BONNELL, CPU_ATOM, PTA_BONNELL, M_CPU_TYPE (INTEL_BONNELL), P_PROC_SSSE3}, {"atom", PROCESSOR_BONNELL, CPU_ATOM, PTA_BONNELL, -- 2.18.1 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] Initial Raptorlake Support 2022-10-14 7:40 ` [PATCH 1/2] Initial Raptorlake Support Haochen Jiang @ 2022-10-17 1:13 ` Hongtao Liu 0 siblings, 0 replies; 5+ messages in thread From: Hongtao Liu @ 2022-10-17 1:13 UTC (permalink / raw) To: Haochen Jiang; +Cc: gcc-patches, hongtao.liu On Fri, Oct 14, 2022 at 3:41 PM Haochen Jiang via Gcc-patches <gcc-patches@gcc.gnu.org> wrote: > > gcc/ChangeLog: > > * common/config/i386/cpuinfo.h: > (get_intel_cpu): Handle Raptorlake. > * common/config/i386/i386-common.cc: > (processor_alias_table): Add Raptorlake. Ok. > --- > gcc/common/config/i386/cpuinfo.h | 2 ++ > gcc/common/config/i386/i386-common.cc | 2 ++ > 2 files changed, 4 insertions(+) > > diff --git a/gcc/common/config/i386/cpuinfo.h b/gcc/common/config/i386/cpuinfo.h > index bbced8a23b9..e759e6f89fa 100644 > --- a/gcc/common/config/i386/cpuinfo.h > +++ b/gcc/common/config/i386/cpuinfo.h > @@ -496,6 +496,8 @@ get_intel_cpu (struct __processor_model *cpu_model, > case 0x9a: > case 0xbf: > /* Alder Lake. */ > + case 0xb7: > + /* Raptor 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 c0c2ad74d87..8d346245ddd 100644 > --- a/gcc/common/config/i386/i386-common.cc > +++ b/gcc/common/config/i386/i386-common.cc > @@ -1929,6 +1929,8 @@ const pta processor_alias_table[] = > M_CPU_SUBTYPE (INTEL_COREI7_SAPPHIRERAPIDS), P_PROC_AVX512F}, > {"alderlake", PROCESSOR_ALDERLAKE, CPU_HASWELL, PTA_ALDERLAKE, > 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}, > {"bonnell", PROCESSOR_BONNELL, CPU_ATOM, PTA_BONNELL, > M_CPU_TYPE (INTEL_BONNELL), P_PROC_SSSE3}, > {"atom", PROCESSOR_BONNELL, CPU_ATOM, PTA_BONNELL, > -- > 2.18.1 > -- BR, Hongtao ^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 2/2] Initial Meteorlake Support 2022-10-14 7:40 [PATCH 0/2] Add new Intel Architecture Haochen Jiang 2022-10-14 7:40 ` [PATCH 1/2] Initial Raptorlake Support Haochen Jiang @ 2022-10-14 7:40 ` Haochen Jiang 2022-10-17 1:13 ` Hongtao Liu 1 sibling, 1 reply; 5+ messages in thread From: Haochen Jiang @ 2022-10-14 7:40 UTC (permalink / raw) To: gcc-patches; +Cc: hongtao.liu, ubizjak, Hu, Lin1 From: "Hu, Lin1" <lin1.hu@intel.com> gcc/ChangeLog: * common/config/i386/cpuinfo.h: (get_intel_cpu): Handle Meteorlake. * common/config/i386/i386-common.cc: (processor_alias_table): Add Meteorlake. --- gcc/common/config/i386/cpuinfo.h | 4 ++++ gcc/common/config/i386/i386-common.cc | 2 ++ 2 files changed, 6 insertions(+) diff --git a/gcc/common/config/i386/cpuinfo.h b/gcc/common/config/i386/cpuinfo.h index e759e6f89fa..b5c1b21e554 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 8d346245ddd..d6a68dc9b1d 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, -- 2.18.1 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] Initial Meteorlake Support 2022-10-14 7:40 ` [PATCH 2/2] Initial Meteorlake Support Haochen Jiang @ 2022-10-17 1:13 ` Hongtao Liu 0 siblings, 0 replies; 5+ messages in thread From: Hongtao Liu @ 2022-10-17 1:13 UTC (permalink / raw) To: Haochen Jiang; +Cc: gcc-patches, Hu, Lin1, hongtao.liu On Fri, Oct 14, 2022 at 3:41 PM Haochen Jiang via Gcc-patches <gcc-patches@gcc.gnu.org> wrote: > > From: "Hu, Lin1" <lin1.hu@intel.com> > > gcc/ChangeLog: > > * common/config/i386/cpuinfo.h: > (get_intel_cpu): Handle Meteorlake. > * common/config/i386/i386-common.cc: > (processor_alias_table): Add Meteorlake. Ok. > --- > gcc/common/config/i386/cpuinfo.h | 4 ++++ > gcc/common/config/i386/i386-common.cc | 2 ++ > 2 files changed, 6 insertions(+) > > diff --git a/gcc/common/config/i386/cpuinfo.h b/gcc/common/config/i386/cpuinfo.h > index e759e6f89fa..b5c1b21e554 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 8d346245ddd..d6a68dc9b1d 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, > -- > 2.18.1 > -- BR, Hongtao ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-10-17 1:13 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-10-14 7:40 [PATCH 0/2] Add new Intel Architecture Haochen Jiang 2022-10-14 7:40 ` [PATCH 1/2] Initial Raptorlake Support Haochen Jiang 2022-10-17 1:13 ` Hongtao Liu 2022-10-14 7:40 ` [PATCH 2/2] Initial Meteorlake Support Haochen Jiang 2022-10-17 1:13 ` Hongtao Liu
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).