From patchwork Wed Jun 28 10:52:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Li, Pan2 via Gcc-patches" X-Patchwork-Id: 113796 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8828066vqr; Wed, 28 Jun 2023 03:52:46 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6gupS46Vr8IVWzZB3uN6rJBAXdD8w6xFHtKGn9LX/nB21Wvn+pxLiBoH45XOoyAuuwo64B X-Received: by 2002:aa7:cd0a:0:b0:51b:df63:3216 with SMTP id b10-20020aa7cd0a000000b0051bdf633216mr13618399edw.41.1687949566606; Wed, 28 Jun 2023 03:52:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687949566; cv=none; d=google.com; s=arc-20160816; b=hOcMWcbw9CEa2JJaFbkOLi03o4MBBlL9muScNRTz/esxVSrv8A8lD8A2xHNrHEYFI0 Xw8YzHBOU/kbngs95Z5xTli4nhv+crxXtMTcGq1LzDncUYV1DlHeCYgT2qJYGrOoJHhS KDL6CdJCQzl7RZBnLRqpURgGkYP066uYHcJ3rH02IrVRV/gcpqS1k4RRY9nFs2BdXcpf XTa5E3fWo63jlIxovAUL9fMXaddS179ZOg9K+zdygnroZsUtz9QCx5vHqgcIbjDrlgSg xwM3jULsi8tLqgYkH2grZpXptqV6Uj7udkM5PLHDkNv0VPFKK4x9Ww6mQEw+kMSSVxdn P3ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=FTpZ3Li2EBj4BkhXCFCo6GaUzokhqMiIPs08RkhJX1A=; fh=teAkCfp8/+jdw+9cwKK1bUX4dNiR8PY1y3wBzpNarjY=; b=gWf4IhDWpltS3HDFscEtuW3F9fqCJWkMv/95xgSCZBKV/oM9s1z2ASbCvqoEF7wVuX 7/FMRJj+xWvLfBzwWxhzVh1LQLvGb677qlMoBof1XCNvHz+6/VKwhfWrQV7W7IjPQPXc QRZvALxAuEMbq/OEu3GlVUqUcwZ1XIvs8ve3bM+leTZ4ENTz1Is8eQP/a9rk4NdpQ5/2 FciesBMlnG9OovX+O4sL/pOR3zsmFBAujUz+s9e0CAVDLAdw6ZYjj9ONShDsguBgyuMR lSezngT0YRTBWD1JvJtWkzDJ6hGE8xex1JESbhKMqbhauxZAvBgJbpI1oI7BwPc8LBUK twRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=EFnvjnuX; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id y14-20020a50e60e000000b0051d9df5dd25si3163556edm.97.2023.06.28.03.52.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Jun 2023 03:52:46 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=EFnvjnuX; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 80C7D3858C74 for ; Wed, 28 Jun 2023 10:52:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 80C7D3858C74 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1687949565; bh=FTpZ3Li2EBj4BkhXCFCo6GaUzokhqMiIPs08RkhJX1A=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=EFnvjnuX0FuLZb3sgwRaVtdUmFUzJiEQYQPEhgKx4Nbmt3ZJaHThjZMtK9QrH1rKg fShx46jo/Vn5Ei/Rfa6KCiFzz4t5DPUw17pqZ4DcgvoOeUHhWNDiW+2CgymNn1JH3Q tbufLilSF08Lx8FKBGFxMPt4XLVCeB2pxSBcR/6A= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by sourceware.org (Postfix) with ESMTPS id B92143858D35 for ; Wed, 28 Jun 2023 10:52:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B92143858D35 X-IronPort-AV: E=McAfee;i="6600,9927,10754"; a="342148667" X-IronPort-AV: E=Sophos;i="6.01,165,1684825200"; d="scan'208";a="342148667" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jun 2023 03:51:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10754"; a="890993386" X-IronPort-AV: E=Sophos;i="6.01,165,1684825200"; d="scan'208";a="890993386" Received: from scymds03.sc.intel.com ([10.148.94.166]) by orsmga005.jf.intel.com with ESMTP; 28 Jun 2023 03:51:58 -0700 Received: from shgcc101.sh.intel.com (shgcc101.sh.intel.com [10.239.85.97]) by scymds03.sc.intel.com (Postfix) with ESMTP id 2079471; Wed, 28 Jun 2023 03:51:56 -0700 (PDT) To: gcc-patches@gcc.gnu.org Cc: hongtao.liu@intel.com Subject: [PATCH] x86: Update model values for Alderlake, Rocketlake and Raptorlake. Date: Wed, 28 Jun 2023 10:52:09 +0000 Message-Id: <20230628105209.1879240-1-lili.cui@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Spam-Status: No, score=-11.1 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: "Cui, Lili via Gcc-patches" From: "Li, Pan2 via Gcc-patches" Reply-To: "Cui, Lili" Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769943404989565039?= X-GMAIL-MSGID: =?utf-8?q?1769943404989565039?= Hi Hongtao, This patch is to update model values for Alderlake, Rocketlake and Raptorlake according to SDM. Ok for trunk? Thanks. Lili. Update model values for Alderlake, Rocketlake and Raptorlake according to SDM. gcc/ChangeLog * common/config/i386/cpuinfo.h (get_intel_cpu): Remove model value 0xa8 from Rocketlake, move model value 0xbf from Alderlake to Raptorlake. --- gcc/common/config/i386/cpuinfo.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gcc/common/config/i386/cpuinfo.h b/gcc/common/config/i386/cpuinfo.h index 61559ed9de2..ae48bc17771 100644 --- a/gcc/common/config/i386/cpuinfo.h +++ b/gcc/common/config/i386/cpuinfo.h @@ -463,7 +463,6 @@ get_intel_cpu (struct __processor_model *cpu_model, cpu_model->__cpu_subtype = INTEL_COREI7_SKYLAKE; break; case 0xa7: - case 0xa8: /* Rocket Lake. */ cpu = "rocketlake"; CHECK___builtin_cpu_is ("corei7"); @@ -536,9 +535,9 @@ get_intel_cpu (struct __processor_model *cpu_model, break; case 0x97: case 0x9a: - case 0xbf: /* Alder Lake. */ case 0xb7: + case 0xbf: /* Raptor Lake. */ case 0xaa: case 0xac: