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: 1851413 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=Eb7L5qU5; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4S9yYK4ml8z20cX for ; Thu, 19 Oct 2023 17:31:49 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id EEBE63858404 for ; Thu, 19 Oct 2023 06:31:46 +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+incoming=patchwork.ozlabs.org@gcc.gnu.org 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<