Message ID | 0690c179-ac98-d127-5ff4-b5abb725b6ae@suse.com |
---|---|
Headers |
Return-Path: <binutils-bounces+ouuuleilei=gmail.com@sourceware.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp897505vqi; Fri, 15 Sep 2023 01:46:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEu9NFv0mmaN67V2+ifpYxNXkOpZ85wJ7C3Slx1CDv9M7vmRqL4qgh83SFTm5k5hB5SfLNf X-Received: by 2002:a05:6402:12d5:b0:523:b133:5c7e with SMTP id k21-20020a05640212d500b00523b1335c7emr961269edx.1.1694767605932; Fri, 15 Sep 2023 01:46:45 -0700 (PDT) Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id u12-20020aa7d0cc000000b005256b963009si3048694edo.663.2023.09.15.01.46.45 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 01:46:45 -0700 (PDT) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=xi1BNGJ+; arc=fail (signature failed); spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 589CA3858C52 for <ouuuleilei@gmail.com>; Fri, 15 Sep 2023 08:46:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 589CA3858C52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1694767604; bh=vbhL1r+xwtEhE6VC0cKCZOqTacEIWLgai9g7rSQV3KU=; h=Date:To:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=xi1BNGJ+wccQDfmvVvEQSjJ2rur8zjr2aY1uNuZs4BarfjHjM+4V0JyE59nqOL8hz fY396nwcDAUBugB8OZGwCA9d8fgJf/37++V5lBeVOSg2q5tCjco3KIKeCqCc1USe12 1JtnRkw/1TbY7i7cE9ghnyyQIRZG7J4SFbmLYsog= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2051.outbound.protection.outlook.com [40.107.7.51]) by sourceware.org (Postfix) with ESMTPS id 39BEF3858D35 for <binutils@sourceware.org>; Fri, 15 Sep 2023 08:46:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 39BEF3858D35 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V3EbF1jKds43DHlzY+o1NMZfgwiaXeamaRlBpXOyN1DqBVfIaJW8EjnYOyUUrrzHsNaJU1YRFIGd9zO0m48bl92+Kg9FuMruotYC4HwbCf+Ef0jhjUXHn3zSTrD8W0EckZ/gjWro0Yom5j5tvDyn8hvdAU6xayxpiTq31MoXyD1ZIbpc7RS5JYKIq1scmhB5LilwnXJPdBs9MIgf+2jEKq/rUqFL4aVyk2pMEHudYjnuMwEUMn5pefRI9WOzDi7yzlfu5Ke/3nHofjNCZShKzgQYTDkIiIDvZshqpyQtGPgAvTQdnUQxn3kMb1SimnDZ38YxeTM1U/nPrPIQF/aV/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=vbhL1r+xwtEhE6VC0cKCZOqTacEIWLgai9g7rSQV3KU=; b=Oy+DpeKz1gAC93EaYMSSL0Mt+0SN2UgazVen1EePK9ALcnEexoW31JZz3BhpgyBk4n32VCWIgxipbQcyNkbA+BuC/34C046m0gmevvLC1ArFaQkLfoPasPTcUt8yRld+cBYB/0yqAbhDZvXo0M5DK72rS3hBvYwtoQAKisYCVhsJMKePd8ELB5T+xs5bpqR94j5JIbnxg5LhZYBq+r3J2KSM+m7lJ+kjsh3QUNr/QCIWqH37Zl1NMa0snvkUBJFWWxE+LnQVW6DeT+VFewKAO7PJGWL8tSMtsL0KCgQMtH7Dhhm+gFaRtrJXBbACyVTttveIni6YQIcpVlglgbSLvw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none Received: from DU2PR04MB8790.eurprd04.prod.outlook.com (2603:10a6:10:2e1::23) by DBAPR04MB7320.eurprd04.prod.outlook.com (2603:10a6:10:1a8::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.21; Fri, 15 Sep 2023 08:46:31 +0000 Received: from DU2PR04MB8790.eurprd04.prod.outlook.com ([fe80::f749:b27f:2187:6654]) by DU2PR04MB8790.eurprd04.prod.outlook.com ([fe80::f749:b27f:2187:6654%6]) with mapi id 15.20.6792.020; Fri, 15 Sep 2023 08:46:31 +0000 Message-ID: <0690c179-ac98-d127-5ff4-b5abb725b6ae@suse.com> Date: Fri, 15 Sep 2023 10:46:29 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Content-Language: en-US To: Binutils <binutils@sourceware.org> Cc: "H.J. Lu" <hjl.tools@gmail.com> Subject: [PATCH 0/4] x86: fold a number of VEX and EVEX templates Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR0P281CA0253.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:af::8) To DU2PR04MB8790.eurprd04.prod.outlook.com (2603:10a6:10:2e1::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8790:EE_|DBAPR04MB7320:EE_ X-MS-Office365-Filtering-Correlation-Id: df40fcbc-ca77-4925-a00b-08dbb5c84276 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wLybIDJzKdP5fdXTJnSpCpH5gRqfOxJ/7azZcpZhbCThQOiI6oYxO70FmMehGuE5m2uU6j3bwpKpVoXyGtU3opsPgzXrm71Q4DH6p7Jmw5uCuAXYNMH9otcAhdF42e/9zxve8Qc8Oy7LZVxlZ8EOuGs45Yd/UJUTbwIZpzCf22ws66qSzbJCvxirbM1Rsh0ZAVuDDBQYacQs1BX6oFJWEE6xw6hTRwm2BKEKJQJOrpgehiS5J1efooIkzvvUW30/r7tBob3AE2CnqHshvCVm7zvtjkaIcCVy2v7O+pyHfR+8v2Pwupr4bnyZDIHft+9odNnzkCv6v0aceWz6Ub4ygnf1vzwQu2Ee0R2wMRalyk85d0H9KNjoaEAxootLCsKqMyhxPaucnhXU5uQqn2F393eIEJDHVxexYw+dnTQFjTbG4vbYbzKy/rBVy485678f5KCse9lkwkWBPdgCO/3n/tU3JgVX0+dhTjRQRre8YY2ab32rpoLr5qoXe8LJskCV5bpYuvzStD9rD5i4c1pMcUkqOF+G1PBxXtreDUZ22g3PtgC4rx3HnMg0QBWydv6Y7gXPkvY+28+Cw5IqDQCm4n0zaTP9WQwVvbMr+okPJJ99vPz072HI22oyg8A2hRl+R3Eogl5YtRGT3y7Q5tfYmw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU2PR04MB8790.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(366004)(39860400002)(346002)(376002)(396003)(451199024)(1800799009)(186009)(6506007)(6486002)(36756003)(558084003)(31696002)(86362001)(26005)(66946007)(6512007)(2906002)(66556008)(38100700002)(478600001)(2616005)(31686004)(5660300002)(66476007)(4326008)(316002)(6916009)(41300700001)(8936002)(8676002)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?Kw3jGpVfgZY64URe6/QNKvkgKVe2?= =?utf-8?q?Cb3epwxbrlZdwSD/HU3S8gM3147F7R8a3Ag2y0jUv/He/fwV1XdOzZW95Og9YKgjK?= =?utf-8?q?NmlHYzCC3ZocVw98OeT1k6QzdRcV1oCy199lcH/542hPHOpmwD+w9wm6HIdEze4c6?= =?utf-8?q?2cZKT+samwBTK2ILAPzGqNxH5wPiuttXq9V6OQTmNFn8JY7OH4Zi5+4/BQaEYkSW4?= =?utf-8?q?g49dRpq5qzQCxB5gDh11DtxsNGlLdyN6TQBxT0hD18IUZNWQDDz6wyEt3OUMWzHx6?= =?utf-8?q?B8fMKJl1Npda9/j0Uqnqt9gpTZTJBBbyX1SO/EEDJYXAQUhIlFAYvbfH+4hQTdtqL?= =?utf-8?q?qGxIkvI6cFypozgHoZhW+3vwD5SIG/trmMUKg3B16QwoYuxPt1A5tiJSkAmgKu+sp?= =?utf-8?q?Zq+V0uh5DAkFs4V9emCV3lDo6pa1JcvyPzqydXhRMWTlffSMmOLOMI8O1q4Oth/Au?= =?utf-8?q?Ah07t02Y7ogLHQxdY4phpvt7z2EvhqF4yWjX/SstIErhzMs0K+FZGFE7z/Ui3g0vh?= =?utf-8?q?GMxpGkKgr0iHt4tuUovjBYGL2gZmSADuYG2Te9R/fTxAl9QBypsC2jLD5tDQaioWT?= =?utf-8?q?YNw4nLZ7WmiiueGVh/QItkAeNkVlTj/vREoJbB6MCJ1NNnsinK6Urj12G/eKhkGNr?= =?utf-8?q?NPt64y9anACIg80Limwp2j55T3LyvInKHV1OSTpXF4yVw46RSKpqkKF+f54uqFSAJ?= =?utf-8?q?FiGUP0yiSlieo6w2k7WZdoIaxf6wCzWfBu+bOCzGZsxhkScmP91vIl+VyDZ5OINSt?= =?utf-8?q?lZgUOIZaAxlzgV2/tN8H0DXlca5eUggy5N4eoYEqSTPoV7g+5FC/vQu5tk++/zY31?= =?utf-8?q?k0w48Et862CoaZ089vdv+1TbcU5JqP7VpFjzXh4f4dEZWWDc37SDXEGNU7E/MA0xt?= =?utf-8?q?B7XqbwTwGalUmR9V7LdpQ6gJDz6AMqZhQcXTak+FJuv0YAU1HoZl+zji9+3xSm3Hu?= =?utf-8?q?dIE9Dr8TLO+0T9bx/xkSgqNNG2lW+iQpQ6n8nTTVqYS43L2428Qt6PLz6F7cjXynH?= =?utf-8?q?HhwAgSrVQxAIV5F/qDVFTo3BUVUSJh9d1HKEuQ51jJTaaySBjRpkVGDIG9vyv+pSw?= =?utf-8?q?T/GDFD2Ba5C7hzQlzLbq2dSkXvdktKh5mu2+amDuTdvqmqkCL3dZgYrQ0hpqgwn4f?= =?utf-8?q?hJtC/XRdydl/D3ai4PpO3n7pFOjFb+V5YHUR2BHcU3qXwwowKScQUmRul8trMfbdf?= =?utf-8?q?M3nMWqH0sbQ0mMEEGjHiBykjbOSCE4wsv33os1wb0Y7DsRNCfaXOrgo+nmbpTKRl1?= =?utf-8?q?TH9J3iFwiQC1Ha1sVow8DHbvVpiWVIz4avhdCY6AZfULVO0hTja2FMOMbi9Ut3ApW?= =?utf-8?q?wxkhhjCoifz37t54rFa/TNQKXi2wtoCrhzEb1Q57Yp0b4bGVhjVuv1pFQzFAdZVY3?= =?utf-8?q?ymRznCI18J/IpNgVQK0eb/rHT+Qc7lxTXB2H+KwExUQwTYvFHFJVNWuQGh2yE3FpE?= =?utf-8?q?wjsuxgzrTJJdTA+0yiF3+nnapeXTFJexon7L3qJSilQs3Th4a9gdHuoGbgCUJR/PP?= =?utf-8?q?ZJby68CvZBmH?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: df40fcbc-ca77-4925-a00b-08dbb5c84276 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8790.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Sep 2023 08:46:31.7571 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: rRdfmuHix80VhYEVqFmT2Ymz2Ho84Xv6BAUxe5BolFWfi7m3hdWEaOzmrsRjS8D0IFqtIxPFVxHK9HmJsOZ7/Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR04MB7320 X-Spam-Status: No, score=-3026.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, 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: binutils@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Binutils mailing list <binutils.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/binutils>, <mailto:binutils-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/binutils/> List-Post: <mailto:binutils@sourceware.org> List-Help: <mailto:binutils-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/binutils>, <mailto:binutils-request@sourceware.org?subject=subscribe> From: Jan Beulich via Binutils <binutils@sourceware.org> Reply-To: Jan Beulich <jbeulich@suse.com> Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org Sender: "Binutils" <binutils-bounces+ouuuleilei=gmail.com@sourceware.org> X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777092637467152326 X-GMAIL-MSGID: 1777092637467152326 |
Series |
x86: fold a number of VEX and EVEX templates
|
|
Message
Jan Beulich
Sept. 15, 2023, 8:46 a.m. UTC
The last two patches are explicitly RFC, for having a possibly unwanted side effect. 1: fold certain VEX and EVEX templates 2: fold VAES/VPCLMULQDQ VEX and EVEX templates 3: fold FMA VEX and EVEX templates 4: fold F16C VEX and EVEX templates Jan
Comments
On Fri, Sep 15, 2023 at 4:46 PM Jan Beulich via Binutils <binutils@sourceware.org> wrote: > > The last two patches are explicitly RFC, for having a possibly unwanted > side effect. We're about to send out APX patches, @Lili Cui cloud you take a look at the series? > > 1: fold certain VEX and EVEX templates > 2: fold VAES/VPCLMULQDQ VEX and EVEX templates > 3: fold FMA VEX and EVEX templates > 4: fold F16C VEX and EVEX templates > > Jan
> -----Original Message----- > From: Hongtao Liu <crazylht@gmail.com> > Sent: Monday, September 18, 2023 9:58 AM > To: Cui, Lili <lili.cui@intel.com> > Cc: Binutils <binutils@sourceware.org>; H.J. Lu <hjl.tools@gmail.com>; > Beulich, Jan <JBeulich@suse.com> > Subject: Re: [PATCH 0/4] x86: fold a number of VEX and EVEX templates > > On Fri, Sep 15, 2023 at 4:46 PM Jan Beulich via Binutils > <binutils@sourceware.org> wrote: > > > > The last two patches are explicitly RFC, for having a possibly > > unwanted side effect. > We're about to send out APX patches, @Lili Cui cloud you take a look at the > series? Since APX only needs to promote the VEX instructions without corresponding EVEX, these folding VEX and EVEX template patches has no effect on our internal APX patches. Since Jan has some predictions on APX. I will send some of APX AFC patches, which need Jan to help review, thanks. Lili. > > > > 1: fold certain VEX and EVEX templates > > 2: fold VAES/VPCLMULQDQ VEX and EVEX templates > > 3: fold FMA VEX and EVEX templates > > 4: fold F16C VEX and EVEX templates > > > > Jan > > > > -- > BR, > Hongtao
On 18.09.2023 07:47, Cui, Lili wrote: >> -----Original Message----- >> From: Hongtao Liu <crazylht@gmail.com> >> Sent: Monday, September 18, 2023 9:58 AM >> >> On Fri, Sep 15, 2023 at 4:46 PM Jan Beulich via Binutils >> <binutils@sourceware.org> wrote: >>> >>> The last two patches are explicitly RFC, for having a possibly >>> unwanted side effect. >> We're about to send out APX patches, @Lili Cui cloud you take a look at the >> series? > > Since APX only needs to promote the VEX instructions without corresponding EVEX, these folding VEX and EVEX template patches has no effect on our internal APX patches. I don't follow: As soon as you have an insn with both a VEX and an EVEX encoding, there can be potential for folding (ideally right when APX is being introduced, rather than once again leaving it to me to clean up later). Jan
> -----Original Message----- > From: Jan Beulich <jbeulich@suse.com> > Sent: Monday, September 18, 2023 5:38 PM > To: Cui, Lili <lili.cui@intel.com> > Cc: Binutils <binutils@sourceware.org>; H.J. Lu <hjl.tools@gmail.com>; > Hongtao Liu <crazylht@gmail.com> > Subject: Re: [PATCH 0/4] x86: fold a number of VEX and EVEX templates > > On 18.09.2023 07:47, Cui, Lili wrote: > >> -----Original Message----- > >> From: Hongtao Liu <crazylht@gmail.com> > >> Sent: Monday, September 18, 2023 9:58 AM > >> > >> On Fri, Sep 15, 2023 at 4:46 PM Jan Beulich via Binutils > >> <binutils@sourceware.org> wrote: > >>> > >>> The last two patches are explicitly RFC, for having a possibly > >>> unwanted side effect. > >> We're about to send out APX patches, @Lili Cui cloud you take a look > >> at the series? > > > > Since APX only needs to promote the VEX instructions without > corresponding EVEX, these folding VEX and EVEX template patches has no > effect on our internal APX patches. > > I don't follow: As soon as you have an insn with both a VEX and an EVEX > encoding, there can be potential for folding (ideally right when APX is being > introduced, rather than once again leaving it to me to clean up later). Oh, I got your point. After your patches checked in, I will fold VEX and EVEX after we have promoted-EVEX. Thanks, Lili. > > Jan
On 18.09.2023 13:18, Cui, Lili wrote: >> -----Original Message----- >> From: Jan Beulich <jbeulich@suse.com> >> Sent: Monday, September 18, 2023 5:38 PM >> To: Cui, Lili <lili.cui@intel.com> >> Cc: Binutils <binutils@sourceware.org>; H.J. Lu <hjl.tools@gmail.com>; >> Hongtao Liu <crazylht@gmail.com> >> Subject: Re: [PATCH 0/4] x86: fold a number of VEX and EVEX templates >> >> On 18.09.2023 07:47, Cui, Lili wrote: >>>> -----Original Message----- >>>> From: Hongtao Liu <crazylht@gmail.com> >>>> Sent: Monday, September 18, 2023 9:58 AM >>>> >>>> On Fri, Sep 15, 2023 at 4:46 PM Jan Beulich via Binutils >>>> <binutils@sourceware.org> wrote: >>>>> >>>>> The last two patches are explicitly RFC, for having a possibly >>>>> unwanted side effect. >>>> We're about to send out APX patches, @Lili Cui cloud you take a look >>>> at the series? >>> >>> Since APX only needs to promote the VEX instructions without >> corresponding EVEX, these folding VEX and EVEX template patches has no >> effect on our internal APX patches. >> >> I don't follow: As soon as you have an insn with both a VEX and an EVEX >> encoding, there can be potential for folding (ideally right when APX is being >> introduced, rather than once again leaving it to me to clean up later). > > Oh, I got your point. After your patches checked in, I will fold VEX and EVEX after we have promoted-EVEX. Just fyi that I'll likely need a v2 of those patches. While thinking of how to remove the odd behavior of the latter two patches, I also spotted an anomaly (even if largely benign right now) in the first one. I'll have to think about that some more (just to be reasonably sure not to introduce yet new quirks), so I won't post right away. Jan
> -----Original Message----- > From: Jan Beulich <jbeulich@suse.com> > Sent: Monday, September 18, 2023 7:50 PM > To: Cui, Lili <lili.cui@intel.com> > Cc: Binutils <binutils@sourceware.org>; H.J. Lu <hjl.tools@gmail.com>; > Hongtao Liu <crazylht@gmail.com> > Subject: Re: [PATCH 0/4] x86: fold a number of VEX and EVEX templates > > On 18.09.2023 13:18, Cui, Lili wrote: > >> -----Original Message----- > >> From: Jan Beulich <jbeulich@suse.com> > >> Sent: Monday, September 18, 2023 5:38 PM > >> To: Cui, Lili <lili.cui@intel.com> > >> Cc: Binutils <binutils@sourceware.org>; H.J. Lu > >> <hjl.tools@gmail.com>; Hongtao Liu <crazylht@gmail.com> > >> Subject: Re: [PATCH 0/4] x86: fold a number of VEX and EVEX templates > >> > >> On 18.09.2023 07:47, Cui, Lili wrote: > >>>> -----Original Message----- > >>>> From: Hongtao Liu <crazylht@gmail.com> > >>>> Sent: Monday, September 18, 2023 9:58 AM > >>>> > >>>> On Fri, Sep 15, 2023 at 4:46 PM Jan Beulich via Binutils > >>>> <binutils@sourceware.org> wrote: > >>>>> > >>>>> The last two patches are explicitly RFC, for having a possibly > >>>>> unwanted side effect. > >>>> We're about to send out APX patches, @Lili Cui cloud you take a > >>>> look at the series? > >>> > >>> Since APX only needs to promote the VEX instructions without > >> corresponding EVEX, these folding VEX and EVEX template patches has > >> no effect on our internal APX patches. > >> > >> I don't follow: As soon as you have an insn with both a VEX and an > >> EVEX encoding, there can be potential for folding (ideally right when > >> APX is being introduced, rather than once again leaving it to me to clean up > later). > > > > Oh, I got your point. After your patches checked in, I will fold VEX and EVEX > after we have promoted-EVEX. > > Just fyi that I'll likely need a v2 of those patches. While thinking of how to > remove the odd behavior of the latter two patches, I also spotted an anomaly > (even if largely benign right now) in the first one. I'll have to think about that > some more (just to be reasonably sure not to introduce yet new quirks), so I > won't post right away. Ok, your patches will enter the mainline before the APX patch, I will pay attention to this place. Thanks. Lili. > > Jan