Message ID | 9bef986f-7441-c4a9-5bfd-7bbed0a3d950@suse.com |
---|---|
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f41:0:b0:3e4:2afc:c1 with SMTP id v1csp987195vqx; Thu, 3 Aug 2023 01:09:33 -0700 (PDT) X-Google-Smtp-Source: APBJJlHAMVgG67ZaNL2MwFHRTx1FEGScnU4Hz9DCSHr0LCXvUyaMF2mrTE/ORKym5lVSbJQHdRDt X-Received: by 2002:a17:907:762d:b0:99b:ce9c:a94a with SMTP id jy13-20020a170907762d00b0099bce9ca94amr7376583ejc.4.1691050173683; Thu, 03 Aug 2023 01:09:33 -0700 (PDT) Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id d11-20020a170906344b00b00991f834e0b3si920532ejb.194.2023.08.03.01.09.33 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Aug 2023 01:09:33 -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=@gcc.gnu.org header.s=default header.b=I1hmwNNK; arc=fail (signature failed); 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=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 400FE3858430 for <ouuuleilei@gmail.com>; Thu, 3 Aug 2023 08:09:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 400FE3858430 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1691050172; bh=RwZ9f7jjnuIk4DT6QrVPbo2zNjaBfNPxJBtKQ/LiQ7k=; h=Date:To:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=I1hmwNNKoJEQgHUQf3Y9hh0VDYyLLve8PXcmDZRF8gRuTB9njaEDDeWxVoj36HvRp fegJNVs741kk5wjo1c+h1vsBgFz1cxroG1nuOXc0UuXPgJnZ7rvJcx0s30JGMC7qWs XfWV0681nhBmGaicwvVwCNKmmTxyE4k3DiORs7ic= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2072.outbound.protection.outlook.com [40.107.20.72]) by sourceware.org (Postfix) with ESMTPS id 69EC73858280 for <gcc-patches@gcc.gnu.org>; Thu, 3 Aug 2023 08:08:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 69EC73858280 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NvMGkjeniHCH0J7mhlqd7/K1NV8PZKDrXEOGyV5P81uaQ38F2rU2Ery/eaUPt58tEWGcWTshCmXqH7o9csMbOHAcN26em3mnr7hEx2H/LdFzcZYlJGJN0EcOMPBIbG5oEHPsrw4k+JeytDQOMxBAVcPAwMRe0R0+S3Qy2TAyb+K+fwtM+AQmsuoV0mUuqB8DGbKkY4rvw0vkwc79hQkHO74YWTO8qP/N7FXUYztYDp52bx2vORdgKNgmiD/PIBP+yoBPCcdcjMbL/nzn8co/XYfqAsk7/TFCLU7cykGV78EIJgjuUVdhFGrGr1cSyweigWqpk5qKtXemQ4utXSDTZw== 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=RwZ9f7jjnuIk4DT6QrVPbo2zNjaBfNPxJBtKQ/LiQ7k=; b=bo7Uq1ZnyDf5qjKRBAbgVyDbwvtdE2o4SIUuYzm4NuioxHif+cjvSk8/oX7GwZ6bgBiF05J3QOlpO9kyQBrs4HB+8ew0kAsqHPrCRYxdvdHRo3plKklQz0oS6uKttk4+uTZAxyMVt4mA41XPdyi94JYQpA5NqMQHpqRUdmcqXMUmdcoEDVSBWH7G4/Kkb0YZUQ64BvJQLorbz7YWbM92dcxye3tMKp3zX8tiQxG6NCe8XFIdAP20KHAgKXnrtvrgrLuN1oy9u9FbpjXn3iEV0VvCjNbwt4ASWJPpeTsvuPBxW3rDAEKcUGn2/C9/q/ndYx+GCuhRGQDwYX7hcBvoLw== 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 AS4PR04MB9265.eurprd04.prod.outlook.com (2603:10a6:20b:4e0::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6631.47; Thu, 3 Aug 2023 08:08:41 +0000 Received: from DU2PR04MB8790.eurprd04.prod.outlook.com ([fe80::e5cf:5743:ab60:b14e]) by DU2PR04MB8790.eurprd04.prod.outlook.com ([fe80::e5cf:5743:ab60:b14e%5]) with mapi id 15.20.6631.046; Thu, 3 Aug 2023 08:08:41 +0000 Message-ID: <9bef986f-7441-c4a9-5bfd-7bbed0a3d950@suse.com> Date: Thu, 3 Aug 2023 10:08:38 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.13.1 Content-Language: en-US To: "gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org> Cc: Uros Bizjak <ubizjak@gmail.com>, Hongtao Liu <hongtao.liu@intel.com>, Jan Hubicka <hubicka@ucw.cz>, Kirill Yukhin <kirill.yukhin@gmail.com> Subject: [PATCH 00/10] x86: (mainly) "prefix_extra" adjustments Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR0P281CA0184.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:ab::7) To DU2PR04MB8790.eurprd04.prod.outlook.com (2603:10a6:10:2e1::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8790:EE_|AS4PR04MB9265:EE_ X-MS-Office365-Filtering-Correlation-Id: 7d718803-6909-499e-054c-08db93f8d98e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FrWg16Iq+LUWEj+0a0p/zZSbaKy4p+BWoZ+Zf8HqHuXXpEyAalH5gJrhAAsYhjgcKenvTeADUd1BRYVJjLgW+q7urIPesYn86tv+J5Dbq/jOOv5FeZZ5ouEhmMQ/UohRQTSoKIGu7ONb7yjaSZt+nuCjk2biP48//5gGaMpPOVnlyDO38/ywideXJASU+HEogrB1pmSrX1vp8F/KfZHMQEtEWc2WO26vhFbxtoq0+2Glpys1zBHbXHLux7iOf36QtiLKv0CKj1V4Dj8Z0eGlj08bK6gOryUwkRyEx8oguPEyOVwlD9sSPuevLCWfIAoM7gqVlkYDv0bk/wmk1/3wTWTaJycZAR7bJg3PB9C2bSRI8ndGTynveUJT2Dg7qcW08nZ/6aoXD6dnVOWzxwknB4zJM/nx9aJGDJfPJovkbe4JxYnhQaP+GtIcmxkRdiGknd1EYZ2XepxTbX7YIIVSvG1+fxxNUAqIUHiOrEVwICUAwIclVbqteFJeq9RSud7+O4+NlljwEFLLnD7pWyLt1g+/a5+tBDgWMjv5ziNy4d6AbEJOglYOc2xvzBEVQ9CQBenacuclmZNjzi9i/FMSbvEu40txYa5B/xHLsx5Fp74r5QBeRknVFULkxJA4BzZQQQ3SsTOnlW51ihJoQrKY3A== 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:(13230028)(136003)(396003)(346002)(39860400002)(366004)(376002)(451199021)(2616005)(6506007)(83380400001)(26005)(186003)(4744005)(316002)(2906002)(66946007)(4326008)(66476007)(66556008)(5660300002)(6916009)(41300700001)(8676002)(8936002)(6486002)(6666004)(6512007)(54906003)(478600001)(38100700002)(31696002)(86362001)(36756003)(31686004)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?ijYshdOJj0s8qYr+ML/dgUtHe2sL?= =?utf-8?q?RIbuepOeuh03l+rjloJsvd53fiIRcLN+JDsrcMKKAcff88zv3aGPxyNasBfrQ2Aiq?= =?utf-8?q?mv0THog7iylzmr64h+p3i1vniW+lmVB3ctnGD2dFI9yR+0kbOGR2gwV9TtjiD1D16?= =?utf-8?q?iWxO1h9PzI6PUstBhEiRPCkLAf1ZHLqMjz6A8Ja013to4i6xAngpynSLgGVGerOXf?= =?utf-8?q?nyaU85rjEP/V6Q6nlEz6S4DOEKN7BHCMhqAVLYjNtx/eki9d23NDYAVhjVMSv8AjL?= =?utf-8?q?36on6fYzeDDtSEe1FxBTZGLSYj94F/Cd2YYQ0BgCXHEM/IXRzdQhDBRv9cQSLyENP?= =?utf-8?q?NS43o+ELpjtrwX4DOZ/jfm2+FkTJ89+IIMFs5VxAk7q+5HIcOaG6/WRA/vdW8krhK?= =?utf-8?q?IUEkcrdSbPibtRmybhri1AS8LoQy2pxSDdRsbA7o83gzfGus9EnbxLTlMjv/n3eYN?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?1xu/RFmdfuT58Fx5BQ3DZX8M/6gkuyDJZNX0hcGlEFKNUwvUL/lI1fcXEcw7TpMKv?= =?utf-8?q?t5bazbYS9eE90b5PUzatJeb0FH7+ska03JeD0DiHspb7pPQ1yaq1PyvTlE8KJgs5L?= =?utf-8?q?vsiX77C3nBFEvex8uka7DA1WgNKqZ41y+Mg5aO5/5TaDTD5PMHlmRtwD+VwGEqPL4?= =?utf-8?q?QoqvKWOJZquI?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7d718803-6909-499e-054c-08db93f8d98e X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8790.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Aug 2023 08:08:41.6296 (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: VOi9Egqyn/9rH+H7Hphiewop4HYT+AOpHUCdXZRJfZM2SztT7UGTYPA0jvvkaAaNvqcKNwedAuuKkaSwBp2u6A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS4PR04MB9265 X-Spam-Status: No, score=-3027.1 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, T_SCC_BODY_TEXT_LINE 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 <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> From: Jan Beulich via Gcc-patches <gcc-patches@gcc.gnu.org> Reply-To: Jan Beulich <jbeulich@suse.com> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773194626894673411 X-GMAIL-MSGID: 1773194626894673411 |
Series |
x86: (mainly) "prefix_extra" adjustments
|
|
Message
Jan Beulich
Aug. 3, 2023, 8:08 a.m. UTC
Having noticed various bogus uses, I thought I'd go through and audit them all. This is the result, with some other attributes also adjusted as noticed in the process. (I think this tidying also is a good thing to have ahead of APX further complicating insn length calculations.) 01: "prefix_extra" tidying 02: "sse4arg" adjustments 03: "ssemuladd" adjustments 04: "prefix_extra" can't really be "2" 05: replace/correct bogus "prefix_extra" 06: drop stray "prefix_extra" 07: add (adjust) XOP insn attributes 08: add missing "prefix" attribute to VF{,C}MULC 09: correct "length_immediate" in a few cases 10: drop redundant "prefix_data16" attributes Jan
Comments
On Thu, Aug 3, 2023 at 4:09 PM Jan Beulich via Gcc-patches <gcc-patches@gcc.gnu.org> wrote: > > Having noticed various bogus uses, I thought I'd go through and audit > them all. This is the result, with some other attributes also adjusted > as noticed in the process. (I think this tidying also is a good thing > to have ahead of APX further complicating insn length calculations.) Thanks for doing this. I'm just checking the way to modify the attribute , doesn't go detail for those instructions encoding(I think you must know better than me). > > 01: "prefix_extra" tidying > 02: "sse4arg" adjustments > 03: "ssemuladd" adjustments > 04: "prefix_extra" can't really be "2" > 05: replace/correct bogus "prefix_extra" > 06: drop stray "prefix_extra" > 07: add (adjust) XOP insn attributes > 08: add missing "prefix" attribute to VF{,C}MULC > 09: correct "length_immediate" in a few cases > 10: drop redundant "prefix_data16" attributes > > Jan