From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb1-xb2f.google.com (mail-yb1-xb2f.google.com [IPv6:2607:f8b0:4864:20::b2f]) by sourceware.org (Postfix) with ESMTPS id 732FA3858281 for ; Mon, 17 Oct 2022 01:13:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 732FA3858281 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-yb1-xb2f.google.com with SMTP id f205so518436yba.2 for ; Sun, 16 Oct 2022 18:13:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=XSZ4IkpBwDl5z7L7Uv+ReLy2VdJ7M7CAI0muAZW3Mrs=; b=esRTNd8kdrDffHSsVcZ5IfapTkN4qSNJBg3zAzo/wZ9w5byRbf0Zi4EPhl0FTtv3KH A6x/RfmQEn4WfYMCoblaBA57x0cpmfSUxXT0HTAfW/0ZJR59Ibq8axKsr5i7YIo/YEoq SaLC52f1KtRxKL3+PTVjKGi0WZ3etrHEpEJj9p9w2etS8ZyJXnYdeX7h9qH44ZOdvN71 r48zv5oovLD4mH9L7mMpQ0VaOTJ8wDbY7vEncKt2nnyySdMiT1llguOnxSaUpPlBQ+QG FnqbANiP+bB0hIy7IJZIeVYmYqR+VkEaoXmAJqV3PkHnRgkMEumbrwkK9r95djN/0vF7 bP5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=XSZ4IkpBwDl5z7L7Uv+ReLy2VdJ7M7CAI0muAZW3Mrs=; b=p1ATNJvVfAy3aKnhbUO0hy8uR9wWU9j2jfgTIrS4c5LFTDbAwqfUiYl9B9j+gn3pTf 9issIWCw2ajv6QKnW0Py4eKVpE8mWdI5r+ePfGbwz9rtKTZvIXjJCATxZlkIrU1klj6w 4z/QGBUxyVpILIPMnAy/BeCGz6XXvo8WwcgiDYGICay51hIZTALXDhKKP7//3xjrc6cM cV/IGh/pe48fytt3QfGH5emVWVP5dsSq9Sb3KAkbjLv9W10Ig+fLM8ZERKKhzA5bXxeM +GskybwA/3RkXzTGSWlNNs9SIDE8h/2bRua7pjApoLfbvc9VhPxtCtm2H82DVop5wVyk 7hIw== X-Gm-Message-State: ACrzQf2pVM6virE6VgCVEHNdBEHYZR9chS1K8OySWzGFgMa//BtRi2o4 x0RBr7g6ZO5w38UBIVYimUUU+pjBXCgIufbrv/Fh41cN5Zs= X-Google-Smtp-Source: AMsMyM4CSKyRyHmNMSQ+V1DY1gYGL/ufOkm7O49XjbfN/aKhBHNkiBLY8Zx4sKCld6qoEXoed2uaJFCXzaPcJE+xank= X-Received: by 2002:a25:af49:0:b0:6af:fbf5:92d5 with SMTP id c9-20020a25af49000000b006affbf592d5mr7313656ybj.624.1665969227748; Sun, 16 Oct 2022 18:13:47 -0700 (PDT) MIME-Version: 1.0 References: <20221014074058.7709-1-haochen.jiang@intel.com> <20221014074058.7709-3-haochen.jiang@intel.com> In-Reply-To: <20221014074058.7709-3-haochen.jiang@intel.com> From: Hongtao Liu Date: Mon, 17 Oct 2022 09:13:36 +0800 Message-ID: Subject: Re: [PATCH 2/2] Initial Meteorlake Support To: Haochen Jiang Cc: gcc-patches@gcc.gnu.org, "Hu, Lin1" , hongtao.liu@intel.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Fri, Oct 14, 2022 at 3:41 PM Haochen Jiang via Gcc-patches wrote: > > From: "Hu, Lin1" > > 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