From patchwork Thu Oct 19 06:31:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiang, Haochen" X-Patchwork-Id: 155328 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2010:b0:403:3b70:6f57 with SMTP id fe16csp193474vqb; Wed, 18 Oct 2023 23:31:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGf7tgSRWgQl9mFQzz4qfYPyx4HxHz+v+SvJP+xLkpsM6Qv/tFT0uHSoOIb6BWCsBxV3JMM X-Received: by 2002:ad4:5f0b:0:b0:66d:1624:2200 with SMTP id fo11-20020ad45f0b000000b0066d16242200mr1540810qvb.13.1697697119594; Wed, 18 Oct 2023 23:31:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1697697119; cv=pass; d=google.com; s=arc-20160816; b=eqfR23dX1suUsFcb7YMuNI+YWprfhDAxAvYxcFHkjKhYHRy6QYHJLWFw3EGZvPZDYo 0pv4V8NGyVyytQzT1y61I6DGS8tMFPirMhVCBs7tYubLQxsCnQQsmJsYx6pxlaSRXRgG vziG/C3QsfsJAoKcJuap7XBL3xn3fe5dkd3t9846vLj+gFGX2NW/JPYnCcdW8I7vZ0ue qQt0qkNuTOXf6vqXyi5zHHnQpit0DCfnqrYBTtbHWRffoWCLOeTXNH77RfUrtj7iQvrq +4qdELLshvSoc73T2TEBz4LH4PD5j8koAcJfjqO28sp8vGtVOF82ImZh3Owz8Dmdo/J4 5lhw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=Hygem/oSliwxg1H9VScNpALLimC2rfE2h3c0rzi+A5c=; fh=n8eNxIWSYJwy/CU3QSXzDvE/zeEoomCGojuOcYEQEyQ=; b=tgKsT5JMyktHmRvjoolt5lEqCv3ESjgpEciUxh/aJA7AqX2iXWpcIzPZRJGkYp0urS cGuIJydqhYYDZAV4Phlr8BsNzvIHHKKQYovAnCQ4KFToKJSKG3eK1pJax3QGBYowWsF3 TYdtMSPcOEHtOqVAy4kDuTss5SFFC95X9Kx0BklBmjrrzwUc1WRyaC0pZ1x86iS+8s8G ST2MrHPfjLPr6srqYqmMrtEOVjnWxuGUtgMlweMdgr6MmHqDEG456uTOeuOegCAz/RS/ KsC19Z/HSIqI8gM/jParGV+VvrI/OHx9NyZkaRLnyYJVWEu4o7WyQ/X1/kJdyz2ARF68 WMKg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Eb7L5qU5; arc=pass (i=1); 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=intel.com Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id jk11-20020ad45d4b000000b006616fbcc072si1211368qvb.283.2023.10.18.23.31.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 23:31:59 -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=@intel.com header.s=Intel header.b=Eb7L5qU5; arc=pass (i=1); 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=intel.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3ECDD3858C52 for ; Thu, 19 Oct 2023 06:31:59 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by sourceware.org (Postfix) with ESMTPS id 8D0A83858D1E for ; Thu, 19 Oct 2023 06:31:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8D0A83858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=intel.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 8D0A83858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=192.55.52.88 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1697697095; cv=none; b=OpsuFWbNey2Zs22r3lIEzcdV85/RNI+hkeUkVy+N2eRwMj3yGaPskmNXuBfH+3xiDjLBTKfQWR1fAUWlx2hH/60+RBMXYK0hmOqyrlKpxM7Ljll4v12mkxVU9d01vgFmb4wBPrVXb2LU3kEqgltkEp3lNB531yn3koBH+orG+04= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1697697095; c=relaxed/simple; bh=dsRv6v6AIbYFJNwCjcDSnQuv3G7TrEXjlBbPJBiyQN4=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=eCV/1qqKzujMb8uWgg5OHF+vzIRZ1KBViNfi6I6fYC8Nupje+KGDLQD6b63isAPEBnrxjCAYo6tm4mhXYqChQrdIivwKnic1wr/v8dvqV3Gt13zHIrZJzAlZAgxXVH0pdqrx1UNVvYCkbHjUZzHTVEmSVzknLlM1BHD1eN7NfJA= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697697092; x=1729233092; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=dsRv6v6AIbYFJNwCjcDSnQuv3G7TrEXjlBbPJBiyQN4=; b=Eb7L5qU5V7Oif1SVyY0IwJBJRG+kZd9Dut7afIn7LoxaHLf5dyZto5r1 3/P5M4Jt6A28z4nrMlcBRcoUeTeIRFCgEPk7BQZBff9xRgtQN4UvOed4m 8fiD+/UeYDAWj8revLV1BnrGkot4lpRCM1Af0tPgXAZ/elTD60wYDWzQX yIRvsULbVZLOeXkxk/1k1jVIYjuciY5XhS5qbw7qOXzb0pB2K7KlIO4gQ wIzWLDMA2S5k1ePvij8za60VnTBdO4/Cas3cvsyoftikahXVjGpjjpfHn QxrgYYq676FRXeCG3RRojp1hjywEjkNf4gV9fU1zsPHsp8R58/CQzijne g==; X-IronPort-AV: E=McAfee;i="6600,9927,10867"; a="417295758" X-IronPort-AV: E=Sophos;i="6.03,236,1694761200"; d="scan'208";a="417295758" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Oct 2023 23:31:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10867"; a="822721655" X-IronPort-AV: E=Sophos;i="6.03,236,1694761200"; d="scan'208";a="822721655" Received: from shvmail03.sh.intel.com ([10.239.245.20]) by fmsmga008.fm.intel.com with ESMTP; 18 Oct 2023 23:31:29 -0700 Received: from shliclel4217.sh.intel.com (shliclel4217.sh.intel.com [10.239.240.127]) by shvmail03.sh.intel.com (Postfix) with ESMTP id 6D31B1005677; Thu, 19 Oct 2023 14:31:28 +0800 (CST) From: Haochen Jiang To: gcc-patches@gcc.gnu.org Cc: ubizjak@gmail.com, hongtao.liu@intel.com Subject: [PATCH v2] x86: Correct ISA enabled for clients since Arrow Lake Date: Thu, 19 Oct 2023 14:31:28 +0800 Message-Id: <20231019063128.512979-1-haochen.jiang@intel.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20231018081020.1919314-1-haochen.jiang@intel.com> References: <20231018081020.1919314-1-haochen.jiang@intel.com> MIME-Version: 1.0 X-Spam-Status: No, score=-10.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, UPPERCASE_50_75 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.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780080082484369094 X-GMAIL-MSGID: 1780164454808427108 Hi all, I slightly adjust the patch. No functional change has been done in v2 patch but just some formatting and order issue. Thx, Haochen gcc/ChangeLog: * config/i386/i386.h: Correct the ISA enabled for Arrow Lake. Also make Clearwater Forest depends on Sierra Forest. * config/i386/i386-options.cc: Revise the order of the macro definition to avoid confusion. * doc/extend.texi: Revise documentation. * doc/invoke.texi: Correct documentation. gcc/testsuite/Changelog: * gcc.target/i386/funcspec-56.inc: Group Clearwater Forest with atom cores. --- gcc/config/i386/i386-options.cc | 10 ++-- gcc/config/i386/i386.h | 8 ++- gcc/doc/extend.texi | 18 +++--- gcc/doc/invoke.texi | 57 ++++++++++--------- gcc/testsuite/gcc.target/i386/funcspec-56.inc | 2 +- 5 files changed, 49 insertions(+), 46 deletions(-) diff --git a/gcc/config/i386/i386-options.cc b/gcc/config/i386/i386-options.cc index 3a03de5ceca..072bbc628e2 100644 --- a/gcc/config/i386/i386-options.cc +++ b/gcc/config/i386/i386-options.cc @@ -128,24 +128,24 @@ along with GCC; see the file COPYING3. If not see #define m_ROCKETLAKE (HOST_WIDE_INT_1U<