Message ID | dc39887b-fc6e-2827-e0b1-e99949e08796@suse.com |
---|---|
Headers |
Return-Path: <binutils-bounces+ouuuleilei=gmail.com@sourceware.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp748906wrr; Fri, 2 Dec 2022 02:13:56 -0800 (PST) X-Google-Smtp-Source: AA0mqf62HZJItGkXs7BOabyVKxd6IHR3SXn2tIro+X+9oaCnfT/G1+V+nnUr9QdHk97cSyNPmTGe X-Received: by 2002:a05:6402:3719:b0:461:4f34:d8f4 with SMTP id ek25-20020a056402371900b004614f34d8f4mr65151464edb.144.1669976036535; Fri, 02 Dec 2022 02:13:56 -0800 (PST) Received: from sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id sh12-20020a1709076e8c00b007bb92113ca1si3573049ejc.67.2022.12.02.02.13.56 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Dec 2022 02:13:56 -0800 (PST) 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=VGR1So+r; 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 760E7385840D for <ouuuleilei@gmail.com>; Fri, 2 Dec 2022 10:13:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 760E7385840D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1669976035; bh=TEysWLVB7llam0tYm6nXNjpzTs3KoegZX89/ySYLNhc=; h=Date:Subject:To:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=VGR1So+re0GgDsYh29eG44vM9WzxwJemT6qbxarTN9Z1TBL0m2x7v1Hh4u6504wKG WrE2Q4lrrcO0GJut3HqQOcYYco1KrwAzIv2uK5NR9DRTvFnw6a2AF5I6UZzWcXbB6c ux+03eJr1PzZMOu153/gR+eQAIhiJ8BDZfHCAmHk= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2086.outbound.protection.outlook.com [40.107.20.86]) by sourceware.org (Postfix) with ESMTPS id 11C313858D33 for <binutils@sourceware.org>; Fri, 2 Dec 2022 10:13:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 11C313858D33 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jLZucjJ/AiH142ZBtL2bls1BRBigSKUhrbI/37uY1i+ZPvO7JItM9WpCVVRw7So7tkQQkOBY1vXG1Wonynmbl5oHhPzC/CB2qDj9qhpR03HT8p9K1zLiBzBC1tiTgdz8W5QFt7VYDHi3gIkOp7wkCMi14D+eo9T0pL7r8psV4ZFcsOsr9AQTwyNPrXMCqa4TAircIhyz9n245Ze9nu0bFQhwLLH2kMXvKYUt67gJfwAHMjGWxONX5pwOeuQaeQY00M/uLSCtTiuVCJhsHWzLbV3yvrNtbXfPYULwasAn90X26R0g/TK4rHqx7onFnzYVn+sX86SzNzIK6GkjKu/p+Q== 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=TEysWLVB7llam0tYm6nXNjpzTs3KoegZX89/ySYLNhc=; b=FLoAzGlw2Fgy6SMxG50jk1uv6Mf0nKU1zCzFNNOZWNY4JFgA5nimMvGNuY+7Y8X00Bw79VWNrqJY0QTUHuBV9ZFSVzJAdYxBS/EXoGGnRiuJewOAYfRUCgvcppE2eh77Wz0ZZ0dtlwu77Wca/9z8qaTqcTcpR/SH/ao1gl7CDXbo/aBpszU2BeoPyyFOg1VgZbRrwYOUJfgaepAhZ/LIBEj3tBAamVbDjqcO0e9WTL8umSdMyacHhwB9RXM6UdN/qiUCXnaRaAzgaI1n1GXzkq0nnI7OwMl4lQ9GrddSFzScJ/grJsrpJAe0zOskeQGgWqluTzFlHVuke7P4a6jVIQ== 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 AM9PR04MB8859.eurprd04.prod.outlook.com (2603:10a6:20b:40a::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5857.20; Fri, 2 Dec 2022 10:13:43 +0000 Received: from VE1PR04MB6560.eurprd04.prod.outlook.com ([fe80::4da2:ea8b:e71e:b8d8]) by VE1PR04MB6560.eurprd04.prod.outlook.com ([fe80::4da2:ea8b:e71e:b8d8%4]) with mapi id 15.20.5857.023; Fri, 2 Dec 2022 10:13:43 +0000 Message-ID: <dc39887b-fc6e-2827-e0b1-e99949e08796@suse.com> Date: Fri, 2 Dec 2022 11:13:42 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: [PATCH v7 0/7] x86: suffix handling changes To: Binutils <binutils@sourceware.org> Cc: "H.J. Lu" <hjl.tools@gmail.com> Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR2P281CA0121.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:9d::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_|AM9PR04MB8859:EE_ X-MS-Office365-Filtering-Correlation-Id: 6b2dfb5e-eeb8-4df1-1d92-08dad44de44e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +UHmt5D/4I16vYK3Sktjv59wfLF1IuaPXxStKfJ0kXzUaQh23e3qmBRr0NSvHdqLj7kZshtGYqmVCcPEofyTVG+ji+wIYJEiWzCsa75f3fu9JpPqU9ohqcubVhXMukv4NnkoiolO37mxuLvye71CIzpeu4jHW+QumDnc1P1cfs47lY6Ku2lFqmBhux4CwfhzPRkPI21EZvg97NS02Bk8oyDyU6mU+I9I9lxuRrZaYnAmk+j5s7tN48pigoYYlNvgV0RQnmUZkqNRuYaP3UDiPWAH/BD5LaxPioFKHyV/aTGVDnBmNMLtyPy2OTmpXk1sN7+D7Qva0lPL9hf9rPWQuUEq8sFnEEyXA1qDg3gX9IM5aLhyz/n0h2H4KkhXd5YwsOV8g8WRQtPX6CUI9lRt7f0272GYvTEA9XMCCivKjfxR24mpgIjFQimrVI/n/v0lRSVuNzSD+eIq6mG5u0b9nwdGST5i9LzVjCnVMkS6H9f5vlurd38Pja6aSgvx9AJbIbf7fp41pkSEevMu5TmoooPY8UNwHi46vEzwr88QXeShshnxol4sfvaJNlCrelOIRgT8YF9bv8DnwHvh3X6hdYLcQ5tRbHxScpmhD++wb+kG+aeKBjqKXd3RyoFgPjJnWvFGyjzpc9s/3JULIL8YDYI4QxdSTuozrlNlPHlmZMbTqrbkVKiojkqu9lMc43bPjocrQQqiMaBsEZ5naccUOznGdkVJOkVEqdAg8BQsJig= 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:(13230022)(39860400002)(346002)(366004)(396003)(136003)(376002)(451199015)(4326008)(38100700002)(31696002)(66476007)(66556008)(66946007)(8676002)(8936002)(86362001)(186003)(41300700001)(2616005)(36756003)(6506007)(5660300002)(2906002)(31686004)(316002)(26005)(6512007)(478600001)(6916009)(6486002)(83380400001)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?3gmv9cb5uv99X+3zmq/mNTuT4qVZ?= =?utf-8?q?OLfy90GIhHwIDpb2zkIGW7heOSmND5xszGw6S59c5VPPigBh1W/lf8z7VQQxnXq5K?= =?utf-8?q?IGyXxIbgGk3/ZEa9RV1ptaf1gOFfk4LBYsQzY0im0ny+SKY+0bb8fkbcMD7uWqVof?= =?utf-8?q?y7dPXg8QHWZtCUPZH9LAH5E6glfWRYgLeutBPXyMY14NTwLuzUY70nkbzrbFg9WI6?= =?utf-8?q?rtl4+bugKf5slfTMUSVvKGdSvWt3EXkR7l6e8E8NhD6I+uiDlrVsMdR9+u6BRwd6/?= =?utf-8?q?tS628MKWAA8q+j5o7Qzxem/AqO9q25WQelgo98u12sNV6Axv0mduA9IxkGtOrdfCt?= =?utf-8?q?4T/sb7rcZ27yB3sSQxHVwBpkVHkNWShPVmXKjRR+LKlnziV3vBXczTl0zhLzFY9iW?= =?utf-8?q?T/TNKaG3Xl24UKYITsOBpKD2eNxn8YcmNOp0hSKMq/JKqYwHnRoSWsqLUNCVzNZmM?= =?utf-8?q?1L8wErAx5y6Le2xNbLPhhpJbHRVDSB+QZrb46enG8sT7CRDVtvbUD0E3TXpCsJMS3?= =?utf-8?q?EiETm4svczr7YtBejaltQuViIKR+2D3XT3HJy3xAeJ0F9n+nVlRKJSErcgkrZQacc?= =?utf-8?q?xIgcYb9Qb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1A60Lxfjq6W4zVusl+9zJczlWy0j2AOJ0rhvynAKnM7HEfocuwzYOjLrjXnmS?= =?utf-8?q?xfJ6r9jZpiNR?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6b2dfb5e-eeb8-4df1-1d92-08dad44de44e X-MS-Exchange-CrossTenant-AuthSource: VE1PR04MB6560.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Dec 2022 10:13:43.4866 (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: rpXslmqOwrcgBBHdgO4L1SNmHlwi1ByKWUYJIsIttfaOQHla3/3FR8zlU0RmIxLrdkLsmG3k6SenYv3R2HL6yg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8859 X-Spam-Status: No, score=-3029.0 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 <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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751096792468117097?= X-GMAIL-MSGID: =?utf-8?q?1751096792468117097?= |
Series |
x86: suffix handling changes
|
|
Message
Jan Beulich
Dec. 2, 2022, 10:13 a.m. UTC
... accompanied by a few other improvements (or so I hope) found along the way. Apart from re-basing this is merely a re-submission, in an attempt to revive the discussion: There are multiple bugs being fixed by this series, which I'd like to ask to not put off simply with a subjective qualification of them being minor. Plus even if minor, it's one thing to not invest time into addressing a minor bug, but here a fix is being supplied, ready for committing. I'd like to also stress again that I've taken quite a bit of time to address concerns, and to hence find a viable compromise. 1: constify parse_insn()'s input 2: re-work insn/suffix recognition 3: don't recognize/derive Q suffix in the common case 4: allow HLE store of accumulator to absolute 32-bit address 5: move bad-use-of-TLS-reloc check 6: drop (now) stray IsString 7: further re-work insn/suffix recognition to also cover MOVSX Note that patches 3...5 were previously approved (albeit 3 has now changed because of the re-ordering of the series in v5), but can't be committed ahead of the earlier ones. While I don't think there's any collision with the also pending "x86: break gas dependency on libopcodes" series (apart from generated files), just in case: The series here is presented on top of that one, but could be easily re-based ahead. Jan
Comments
On 02.12.2022 11:13, Jan Beulich via Binutils wrote: > ... accompanied by a few other improvements (or so I hope) found > along the way. > > Apart from re-basing this is merely a re-submission, in an attempt to > revive the discussion: There are multiple bugs being fixed by this > series, which I'd like to ask to not put off simply with a subjective > qualification of them being minor. Plus even if minor, it's one thing > to not invest time into addressing a minor bug, but here a fix is > being supplied, ready for committing. I'd like to also stress again > that I've taken quite a bit of time to address concerns, and to hence > find a viable compromise. > > 1: constify parse_insn()'s input > 2: re-work insn/suffix recognition > 3: don't recognize/derive Q suffix in the common case > 4: allow HLE store of accumulator to absolute 32-bit address > 5: move bad-use-of-TLS-reloc check > 6: drop (now) stray IsString > 7: further re-work insn/suffix recognition to also cover MOVSX In the absence of alternative proposals on how to address the several bugs addressed within this series I'm intending to commit this perhaps early next week, ... > Note that patches 3...5 were previously approved (albeit 3 has now > changed because of the re-ordering of the series in v5), but can't be > committed ahead of the earlier ones. > > While I don't think there's any collision with the also pending "x86: > break gas dependency on libopcodes" series (apart from generated files), > just in case: The series here is presented on top of that one, but could > be easily re-based ahead. ... on top of this one (and finally unblocking further work I have pending on top). Jan