From patchwork Fri Feb 3 07:43:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 4921 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp697769wrn; Thu, 2 Feb 2023 23:44:21 -0800 (PST) X-Google-Smtp-Source: AK7set9KkmLXn0IlYvPl/mmGMZ7wwOYMBMegP3K/6cYJcqSmBpTmYuUsVnU5M+dEbz8khboaR9Ki X-Received: by 2002:a17:907:c78a:b0:878:7349:5ce6 with SMTP id tz10-20020a170907c78a00b0087873495ce6mr10439370ejc.71.1675410260947; Thu, 02 Feb 2023 23:44:20 -0800 (PST) Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id gi18-20020a1709070c9200b00872733f3b95si2037763ejc.336.2023.02.02.23.44.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Feb 2023 23:44:20 -0800 (PST) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.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=@sourceware.org header.s=default header.b=PIfunYUh; arc=fail (signature failed); spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c 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 739973853567 for ; Fri, 3 Feb 2023 07:44:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 739973853567 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1675410243; bh=WIrr1XQ/xGuH96g9cfLPWl1jb5cca8KSX0Ei+2SZXrc=; h=Date:To:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=PIfunYUhvtXDA1etCXNcaB9cVV37xMhYwrpCmZW/GoCA3xeEotNgxtpdZ85ZKp3WV s4O9aRbPcuflSqFX+krszgoEqzGA57CmWwwSxbsprEM+uRgtGT4Esjkll4BS8daqPB cAy5WbreVTrKe1ZxNoHbTmiiv6U0BUnVJBHdWv2c= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2062.outbound.protection.outlook.com [40.107.22.62]) by sourceware.org (Postfix) with ESMTPS id C5CEF3857C71 for ; Fri, 3 Feb 2023 07:43:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C5CEF3857C71 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G3CIV4QJmXj+RTK22zRMIiipoUHFu0bvyxuMpwvzH4zk/TlbCyr5hb2LlcfoOFTrzddX66ILiPasRViIhGXg+plW9wO2nvQSYoamvatS2nmTQ3vQrWdnpFC1SqJsrCNmypKwMuDEs8OmqwFzlnANclIb4d3ha3YgxgS2vJR1AUyIjYcyhr1b+wHTaiN2j7y12WJuJ7YY/eoZB7iyTcZUgEM+8/OX7MTR1coYnk1iLbkl7bBPfzq9GVoD//hy5XNTQf2EGArpEHqyDYv+uOjewfy1E3X2amMojUS+Xa+ffJ+np1sUoBU3QJoLyNX5HuBt+V3sq9mLBEhn6YSFio1VRA== 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=WIrr1XQ/xGuH96g9cfLPWl1jb5cca8KSX0Ei+2SZXrc=; b=FS2xEREdv9KsEmxuk5Q41H6Cs/TPg/BPItgr6yA70uW9v/z4d0bZwE/U5e00J80Mdk+hifZmNCkNFLLCWLMTPoYW9VfD/6hc8RiyOgrlgrwDlP423Y7lStZDWCQ5ikMrsF9F9I/AvqyWFwA4WH4HWbY/dDfhwSybtUhthwCEaeRynGe6N0bzADDbDhTVv7GH3zXSGbkoz94ImuMuzZAGMwMvLjiaTylo3r+GhtCvapq0+euFXFos2X0uEktv/9yDAXgBAZTTYqHZuoirfjqQSrpmT5LXRALIBDW8LL0D1Zu7PgKHa3GNtgspt4+CWNftqsSYJ0+EEgoogurAmGSzgA== 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 VE1PR04MB6560.eurprd04.prod.outlook.com (2603:10a6:803:122::25) by AS1PR04MB9239.eurprd04.prod.outlook.com (2603:10a6:20b:4c5::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.25; Fri, 3 Feb 2023 07:43:10 +0000 Received: from VE1PR04MB6560.eurprd04.prod.outlook.com ([fe80::e138:4fc3:705c:d178]) by VE1PR04MB6560.eurprd04.prod.outlook.com ([fe80::e138:4fc3:705c:d178%6]) with mapi id 15.20.6064.024; Fri, 3 Feb 2023 07:43:10 +0000 Message-ID: Date: Fri, 3 Feb 2023 08:43:08 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Content-Language: en-US To: Binutils Cc: "H.J. Lu" Subject: [PATCH 0/3] x86: drop VexSources attribute X-ClientProxiedBy: FR0P281CA0066.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:49::12) To VE1PR04MB6560.eurprd04.prod.outlook.com (2603:10a6:803:122::25) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VE1PR04MB6560:EE_|AS1PR04MB9239:EE_ X-MS-Office365-Filtering-Correlation-Id: 1d634a58-cf4c-45f9-82ec-08db05ba4be6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2vUvpfbisEn+dGvPR7+J7sys/0BJBBQn/sJaQ7OStXJJZcxpcq3Po+Cd6gNoyIMKzqmlgI9k7RqSHg6eTqnMb6gjcQE2FgANJDfZopGWd2pXqqjdDWje7cTf2GJzx6VVqqlfluuQWQDRh3blhz1oR3BG94eFXGo89693qLKd/eeUbFZ9cboEKLzou8jRgJMVg/BnqdcaPYYA0M/ZqHRkhaMs4En7BlgPI7Oei/TqsT8eGRxqIgfbOM4L1xLSTRUZLopfVQLU6DV03yYrti8Y9mYAThBIZtGiEAMDCJ11/0Qtp/fgFDuO9fM6TR+08Q3RG5tOn/00VdkMrNdJjgFgBFq0JdTyiEsQrpsXfEVlAKp+VSvSqYskjc9TEN6+/28aDkPRhallfHD4+bfY48Ikc5zz4/gX8F8PV2nzd2Ij3K1A/khGIdv8dOcNWe9mulcpm77iRfhNAAeoTQlGIqC1GRtARv0m7GvDZVo90wav4JecfgxbA1mW7bYUTkfHVvb2zcRQ7jrtRx9XKNijVClfzn8gZ30b/wAltnkyNNp/3xua2z0hxJLHDpTukZXi0pFf0aHvDZRpLg1V3wRqZEpg+Ky1toUQD7VwlKUjYKoJexVGVklI/a+FjUtTeooTsu02RddPHtsctmOb+OUYfPrMDRyFaBN5pyecV4ZBRDflsCjWbWGsun4a0ylMcmaWuEY9Tjng4dH64EdbF1GcVsPsfpMvNXDr84A9rHsNtoQ++nM= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VE1PR04MB6560.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(39860400002)(396003)(376002)(346002)(366004)(136003)(451199018)(2906002)(36756003)(38100700002)(316002)(2616005)(83380400001)(6512007)(6916009)(186003)(31696002)(478600001)(26005)(8676002)(6486002)(66946007)(66476007)(66556008)(4744005)(86362001)(5660300002)(4326008)(41300700001)(8936002)(6506007)(31686004)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?h9X4HXhFn1kuvG9gJ2Qq+zSs6FpT?= =?utf-8?q?ypwCZrcj3LDb/VWmuCjEbfd89wfgFX6po5bF/9Uh+DZYDdXoudKYYoiCrhmJ2sCGJ?= =?utf-8?q?OWPFa7b8hEjv0ovT1yFUxOGr0tHt7w+mF56k5t2i1IMXHOfzQqno8voSX72wfUmmP?= =?utf-8?q?2BS8aBkgA2sjB7Sj9psWg9ZJjMaJzkMyMrDLXqzev+KBWxWNLgXkxZSnoKtZYt4oS?= =?utf-8?q?1bvA1UwSrGOJlgXGvRDZEbJ2Too3geZelu5/80gt1iJxtS6LwK6sWC2xkNbNmt5f/?= =?utf-8?q?q532TsdgPTTEmbQnBrywy72U9ZE6Pf2jU1FSs6n6djf8uqiSposqgL540X+g6umIT?= =?utf-8?q?hUljdANTNosD8fzNWY9r9V6s+83wwIFXQRNTJ/JOkF1NeDL702imYRKl7jHelyzbT?= =?utf-8?q?SXZdLftOSmQsAO1byt2R0Q5O/LIL6ciL8p5OPv4eHiBehW89AJMkF4A3cheGeoANq?= =?utf-8?q?K+5N8UNkoLsPVEW/f/vL64P6g4y+Te3QE02Bgvf3dRzz4zDJ7SOw5+ptt33EJ5/9l?= =?utf-8?q?riuqOf6PYlaVvKmY4IB9wdvG6NN5qurDWr9BpHFG0oOusH7uk8F7x+ygppLxgD8xg?= =?utf-8?q?lknpZNz+F2xbT3i9l89tWipN4rve/YXcqqIP4E/r8UnhmmxH2aEcg8z900ecFraP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f/1iwQl?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1d634a58-cf4c-45f9-82ec-08db05ba4be6 X-MS-Exchange-CrossTenant-AuthSource: VE1PR04MB6560.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Feb 2023 07:43:10.0385 (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: r+yO0prYByP/k6rQcnUpp+DM386pZ9VDyM2NeT6Yp+BTr3ZoPARcJUYFjEoPJdoQrYUpLfcbvUki9dWAwCUF2A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS1PR04MB9239 X-Spam-Status: No, score=-3028.5 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.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Jan Beulich via Binutils From: Jan Beulich Reply-To: Jan Beulich Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org Sender: "Binutils" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756794989466419461?= X-GMAIL-MSGID: =?utf-8?q?1756794989466419461?= This attribute's existence has been bothering me for years; I merely never dared to touch it because the hackery looked pretty fragile. In the course of trying to get .insn to work sensibly (and without overly intrusive changes to the assembler), I finally had to properly understand what the special case code does. And voila - XOP2SOURCES is fully redundant with other (in part special case) handling we have, while VEX3SOURCES uses can easily be expressed differently. 1: limit use of XOP2SOURCES 2: drop use of XOP2SOURCES 3: drop use of VEX3SOURCES While I don't think there are any conflicts (except in generated files), if in doubt this is assumed to go on top of "x86: assorted opcode processing adjustments". Jan