From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by sourceware.org (Postfix) with ESMTPS id 0BC41385841A for ; Wed, 19 Oct 2022 15:17:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0BC41385841A Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666192660; x=1697728660; h=from:to:cc:subject:date:message-id; bh=lF3bF/QBtBDnQLm74SOHq/iaUr0lJiALDNrqqi8j+5U=; b=DTadDdSezzhNAY0ALGz5Rq6OQ56K3IRDnR3FchBXRVJVcNgoAMcio5UN NQt6nXAxUyP2SLueO3q47tNsGN9p6Q1XDjofDfWBeNUfOLERubJ2oPZXn Ot3fVcP/c2OfySMRwK9OodVUEoI0qno8yEhy5Pm07cXKxCZJ0aAfFGq6T qyeXgVX/GakaB9FPToy87hBBp+VX+mXcflPTlztczcU/+78LQrj1ejUX5 Yp5puffzo6x8L+0w6NSzna9lhX2/W+4A75YEsQtEOqz1ECKKAsBQHy9wY 6henZ0orqD1MgNim0YjlmFrU4eb09W0eNO0pp9pezoQA9V4ILh/gl6l0I Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10505"; a="305175404" X-IronPort-AV: E=Sophos;i="5.95,196,1661842800"; d="scan'208";a="305175404" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Oct 2022 08:17:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10505"; a="631714096" X-IronPort-AV: E=Sophos;i="5.95,196,1661842800"; d="scan'208";a="631714096" Received: from shvmail03.sh.intel.com ([10.239.245.20]) by fmsmga007.fm.intel.com with ESMTP; 19 Oct 2022 08:17:37 -0700 Received: from shliclel320.sh.intel.com (shliclel320.sh.intel.com [10.239.240.127]) by shvmail03.sh.intel.com (Postfix) with ESMTP id 9A5181007800; Wed, 19 Oct 2022 23:17:36 +0800 (CST) From: Haochen Jiang To: binutils@sourceware.org Cc: jbeulich@suse.com, hjl.tools@gmail.com Subject: [PATCH v2 0/10] Add new Intel Sierra Forest, Grand Ridge, Granite Rapids Instructions (Resend) Date: Wed, 19 Oct 2022 23:15:24 +0800 Message-Id: <20221019151534.45521-1-haochen.jiang@intel.com> X-Mailer: git-send-email 2.18.1 X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 List-Id: Hi all, Please ignore the first cover letter of this v2 series. I forgot to reset the i386-init.h and i386-tbl.h changes in those patches and most of them won't be sent. I will resend the patches in this series. Sorry for the disturb. This is our v2 patches for newly released Intel Architecture Instruction Set Extensions and Future Features. The document comes following: https://www.intel.com/content/www/us/en/develop/download/intel-architecture-instruction-set-extensions-programming-reference.html The changes we HAVEN'T DONE: 1. All the reviews in AVX-NE-CONVERT, RAO-INT, PREFETCHI. The patch owner for AVX-NE-CONVERT and RAO-INT is currently busy with the GCC patches adjustment for these two ISAs and haven't finished the change yet. We will update that in next version. For PREFETCHI, since it is quite special, some more discussion is welcomed before further change. For these three patches, there might have some general changes and will be mentioned below. 2. The Suffix things in CMPccXADD. We have inconsistency for No_Suf usage for CMPccXADD and RAO-INT. We will align them in next version. The changes we HAVE DONE: 1. The AVX2 prereq for AVX-IFMA and AVX-VNNI-INT8. 2. The changes from ANY_xxx to xxx for CMPccXADD, WRMSRNS, MSRLIST. It is very unlikely for these three ISAs have future ISAs that depend on them. Therefore, I changed ANY_xxx to xxx. For other ISAs, we keep the ANY_xxx since we suppose there might be dependency on them. But it still need discussion. There is potential we will remove some of them in v3 (most likely AMX-FP16 and PREFETCHI). And we haven't removed those flags in i386-gen.c. It seems that we could also safely remove them right? 3. Removed lockbad testcases in WRMSRNS, MSRLIST, PREFETCHI. Since most of the insts are lockbad, the testcases in these three patches are not needed. 4. Combined CMPccXADD insts in i386-opc.tbl. Use to combine them, also include those alias not is documentation. Including them is better for developer to use them. 5. Changes in tables due to folding AVXVNNI entry patch. 6. Correct the wrong comment for CpuUnused in CMPccXADD patch and add missing comma for SUBARCH in that patch. 7. Fix in comments for singular, VexVVVV=1 to VexVVVV, Vex128 to Vex. 8. Removal for ALL noxxx things in texi file. The reviews need further discussion/investigation: 1. PseudoVexPrefix related ISAs. 2. Table combination and usage in CMPccXADD. Need further investigation how we could make it simpler. And I haven't investigated whether OP_M usage can save the modrm_table pass. 3. SwapSources in CMPccXADD. We may need a special identifier for CMPccXADD since we have VVVV at operand 3, where it is always at operand 2 for all other insts which have VVVV. That is the reason we reuse SwapSources. It might be not that same as the original meaning. But we want to avoid adding a bit for this very rare case. Do we need to change that? 4. The replacement from _ to - in i386-opc.tbl comments. It seems that recent ISA patches are mostly using _. So I am confused about that. 5. Testcase for WRMSRNS and MSRLIST. The 32bit and 64bit can be shared as mentioned. But we cannot just remove one of them right? All the above are the changes in V2 patch. If there is something missing, just remind us. Thx, Haochen