public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Haochen Jiang <jianghc@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r13-3321] Initial Meteorlake Support
Date: Mon, 17 Oct 2022 02:50:15 +0000 (GMT)	[thread overview]
Message-ID: <20221017025015.8ED9B3858D39@sourceware.org> (raw)

https://gcc.gnu.org/g:fd206f0e95fb6f41b96eaaaab1dc0c30378e5e08

commit r13-3321-gfd206f0e95fb6f41b96eaaaab1dc0c30378e5e08
Author: Hu, Lin1 <lin1.hu@intel.com>
Date:   Fri Sep 16 11:25:13 2022 +0800

    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.

Diff:
---
 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,

                 reply	other threads:[~2022-10-17  2:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221017025015.8ED9B3858D39@sourceware.org \
    --to=jianghc@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).