From patchwork Mon Apr 3 08:49:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiang, Haochen" X-Patchwork-Id: 78414 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2153076vqo; Mon, 3 Apr 2023 01:52:22 -0700 (PDT) X-Google-Smtp-Source: AKy350bqJpbdDVCtW4IyTbonIznfUdsaIOAbh/jOqoxtZUgIPPS1cf7TBZp9Jq33v20rQ0hah0SW X-Received: by 2002:a17:906:6710:b0:8af:22b4:99d2 with SMTP id a16-20020a170906671000b008af22b499d2mr16669754ejp.5.1680511942768; Mon, 03 Apr 2023 01:52:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680511942; cv=none; d=google.com; s=arc-20160816; b=u2T8Cu6RzgLhpX2wFYIGXYTNdQdRFtrXyNUoPiwSi588m3VzQHWLzni0IGd2J37Lko f5ICicvu0j5WNdNqqYsUmlBnDzuPhRH7G+stlTyDL6BH9HTcv6ZS2MdBQezx8/3ZWZR7 7GSldynKSC/ap6r5xCmsxbOffGBxA6gVs8VYnigUvMOEmT9hcc2jYKMKG8hAYEgUaQMj e9xhC5imy+oBZEsxZQlnd+AoVfPkiy694Xd/Av+pXSGY8CLz4NX59Bu/hAw8Jwa94/lL 3tuOr3Qn+fbuuh1aORvsYP/sUgAgN1igdVBOg40MmG39JXTlvinHWhoGmiwam0Q9KoJp 4azQ== 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:references:in-reply-to :message-id:date:subject:cc:to:dmarc-filter:delivered-to :dkim-signature:dkim-filter; bh=BRYrSmRLjw8i7LrM2FiRcEeqXyz+VZsqCehYRwVhLfM=; b=xmBOV+0F9tBZhgib+dHNaK6DnYo1ybjdAu7QHDMCQBQ9s0w3e96pAa8WGtSajI6rbP NDvfjHb/scaXyNZmm6dRmNK8POaZ5i/31EapO2bQxJwbfutzD/56O81cJNt6GrLT9n2F 9Q433kUunj3wJPxDQZG918/EF34XqTW3HjQKI6I8igPwra96QaHY6ubeLXbpsGoWqpbj /T3cfy9JJmEAYx8OebK8yyrXYQlwZH9w8bN5JUYd1LHEtiyokie07YjXtJyYTrNuWl+H tIhuadr0dqRJGvOnBonQzN+ipepbm4FqdD5Uh8HOTYJ4V2nFtUGIxzJ1l3aSWc3fp3Sr f+xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=HhlTfMJx; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 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 (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id l4-20020aa7d944000000b005002aad5850si5193685eds.589.2023.04.03.01.52.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Apr 2023 01:52:22 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=HhlTfMJx; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 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 D9C623858404 for ; Mon, 3 Apr 2023 08:52:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D9C623858404 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1680511933; bh=BRYrSmRLjw8i7LrM2FiRcEeqXyz+VZsqCehYRwVhLfM=; h=To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=HhlTfMJxjEoPbeoavHlpDit0Iru69KIPbBLsCmNYoxsIO+wSeGn1h1d1WUrer9b6f dG7z6N3GpoU0gDYXpAr3WxE8N1lp3aynLkB0Rd1rz0BZA4tuzwG71nuyTCnKudCLEi zsJ8p2Z+GfRoGadTXawJxVK9xQ1BcgmqUX2BAb1E= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by sourceware.org (Postfix) with ESMTPS id EDF773858C5E for ; Mon, 3 Apr 2023 08:51:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EDF773858C5E X-IronPort-AV: E=McAfee;i="6600,9927,10668"; a="369653360" X-IronPort-AV: E=Sophos;i="5.98,314,1673942400"; d="scan'208";a="369653360" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Apr 2023 01:51:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10668"; a="716218188" X-IronPort-AV: E=Sophos;i="5.98,314,1673942400"; d="scan'208";a="716218188" Received: from shvmail03.sh.intel.com ([10.239.245.20]) by orsmga008.jf.intel.com with ESMTP; 03 Apr 2023 01:51:26 -0700 Received: from shliclel4217.sh.intel.com (shliclel4217.sh.intel.com [10.239.240.127]) by shvmail03.sh.intel.com (Postfix) with ESMTP id C2BBF1005676; Mon, 3 Apr 2023 16:51:25 +0800 (CST) To: gcc-patches@gcc.gnu.org Cc: ubizjak@gmail.com, hongtao.liu@intel.com Subject: [PATCH 2/2] i386: Add AMX-COMPLEX to Granite Rapids Date: Mon, 3 Apr 2023 16:49:23 +0800 Message-Id: <20230403084923.2904086-3-haochen.jiang@intel.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20230403084923.2904086-1-haochen.jiang@intel.com> References: <20230403084923.2904086-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, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, 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 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: Haochen Jiang via Gcc-patches From: "Jiang, Haochen" Reply-To: Haochen Jiang 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?1762144490787213759?= X-GMAIL-MSGID: =?utf-8?q?1762144490787213759?= gcc/Changelog: * config/gcc/i386.h (PTA_GRANITERAPIDS): Add PTA_AMX_COMPLEX. --- gcc/config/i386/i386.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index dd9391c492b..1da6dce8e0b 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -2361,7 +2361,7 @@ constexpr wide_int_bitmask PTA_ALDERLAKE = PTA_TREMONT | PTA_ADX | PTA_AVX constexpr wide_int_bitmask PTA_SIERRAFOREST = PTA_ALDERLAKE | PTA_AVXIFMA | PTA_AVXVNNIINT8 | PTA_AVXNECONVERT | PTA_CMPCCXADD; constexpr wide_int_bitmask PTA_GRANITERAPIDS = PTA_SAPPHIRERAPIDS | PTA_AMX_FP16 - | PTA_PREFETCHI; + | PTA_PREFETCHI | PTA_AMX_COMPLEX; constexpr wide_int_bitmask PTA_GRANDRIDGE = PTA_SIERRAFOREST | PTA_RAOINT; constexpr wide_int_bitmask PTA_KNM = PTA_KNL | PTA_AVX5124VNNIW | PTA_AVX5124FMAPS | PTA_AVX512VPOPCNTDQ;