From patchwork Tue Oct 25 07:23:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 631 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp856882wru; Tue, 25 Oct 2022 00:24:13 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7vEmldHd/PH9UzH1ZxuU+7S0k2tUCkaPiSYOeYvX2UliP8767RpycAGeSEA5iciPVc6gS7 X-Received: by 2002:aa7:c041:0:b0:45c:1584:23db with SMTP id k1-20020aa7c041000000b0045c158423dbmr34384555edo.184.1666682653729; Tue, 25 Oct 2022 00:24:13 -0700 (PDT) Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id k2-20020a170906a38200b007897abccc6bsi1694710ejz.484.2022.10.25.00.24.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Oct 2022 00:24:13 -0700 (PDT) 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=QYFUgE0u; 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 C2C4A385800B for ; Tue, 25 Oct 2022 07:24:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C2C4A385800B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1666682651; bh=D7gX1Nsuh2h2MUyQq+P+bcmUexN792cMrRPS6zIsz8k=; h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=QYFUgE0uHHpV7+Exl8xLTYLe13jFH4ENk3cX+dUquBFauOGrWHUTlenOgMAWKqXvo SkU7NMfkei1ddzLyHIFFba6p5M7gtuiafd/BCWyl1ADSFxDCY/l0s+gUIj+uUkh9Ul KyItzbJGRbRsS6+Tq4wPV+2uDLgS33bmuJojfPHM= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2047.outbound.protection.outlook.com [40.107.21.47]) by sourceware.org (Postfix) with ESMTPS id 5C95338582A6 for ; Tue, 25 Oct 2022 07:24:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 5C95338582A6 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VwhPhqdOMoT1b/D48Wx6LTosh0ZllSdBLzmdYYfu0oZmDANW+VZ7UxVc+wpIgGlm3BX7luMvsXiF7Ae9BzxBS3kAkmtgXk09rfeluSY1lsPGM/WGJeExOAf2cqp8n3e6mxvfNGfVQj/kq7oM6iqP5y1Qv27RxSSy7TokQlgwQuhICxvPWvWEbmAMaGdAFRLJgZseW0k37INQFtOrH7WFt69/jH8S54lumSYWOI8HLgQcJHbYK3BfWzukCvPQN9Y52VOhvC3wo2hD6Q5HxLFpuNBIZKRE8bpXS3QYmV/5C8AYd3yO3uPS62FbB597zBwzTJlH7eZRVFi09HuoM6T2KQ== 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=D7gX1Nsuh2h2MUyQq+P+bcmUexN792cMrRPS6zIsz8k=; b=iOhj+6oRZe/jy6D1dWQEJjR2HuRXRnSrUE4oV8bpEnixg/bsnjeuhEh9VR0aqv0DoxSkueKm3eUJiBOc/4t+T1x18FaJNL6Gd2V39kobc9SxWlk4pPMptJf6R3EyWjK0IgNL0dT2NsWzjHx0/Y+wKxvJiYTfmD94UfXcjEsQARNBp2zwbQfqVz+WjPNdLh/OuKB2mmV3OppOGQAfLRfh/kQp+JOENFaOkbqMqU2Dm0RczPAk+iIVzsI/rBaCjAsxd/kaRiHzsKjMR9ayOY5vcx8gUrkKbw1WpRqk9paVzHY0NeF4wArqlsDkb+Lw5aZlVMGxQFXNoIJk06V9neCEvg== 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 DU0PR04MB9493.eurprd04.prod.outlook.com (2603:10a6:10:350::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.23; Tue, 25 Oct 2022 07:23:58 +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.5746.021; Tue, 25 Oct 2022 07:23:58 +0000 Message-ID: Date: Tue, 25 Oct 2022 09:23:57 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: [PATCH v5 0/8] x86: suffix handling changes To: Binutils Content-Language: en-US X-ClientProxiedBy: FR3P281CA0055.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:4b::18) To VE1PR04MB6560.eurprd04.prod.outlook.com (2603:10a6:803:122::25) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VE1PR04MB6560:EE_|DU0PR04MB9493:EE_ X-MS-Office365-Filtering-Correlation-Id: 8fceec54-b81f-41e1-ddda-08dab659e1de X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: E4aXFVtNy6dgAubMVz5nCzCqhqNEMWXKb797VFfSfWFvu+8ujd5NO4BO4Vwg3jSL3iPhEfWWv6Mw/M3S+jW0u5skFpKojnUzpcWqhliyUX+IT2h+WDhBjTVXceIiBDuzNt/3u/5CK2BMHHmFO3slDeSIpFw/IzYaUz6VvQ3k7c5z36inJNn8WaiSfrAbDagGp438MKWI3mGWxwRt+8fNHw7lGNttbeS1gkCdKalrUiot3GManie71DL/TlyXkF05qSxjPu1iPdF+IKrw1VPlINCGtOSoXYxzTotD5gT55Ed/SgIfBHfpY9VzkAWUzJMLszZJnKW31ZIKx9Faya8V840thK3ugtP9HKc5kLzWmvE/ViDLcKPyKhm63FzlQNmMhBP/1Z5DmZoGH9ckdvRUgIy0ImukKvtZIuWzA0wDm+g5cS5/+RS70aWUX6liAkTnZspViCrl1P4AGvXzivubBQEE3lvw0yyb+OJ9h+Lo7owYWyRElmdrPDRYYBiBQyw9LQRYADP442bq9Z2SXrONE9szFaBd7cCBjm2rskPzWy/7L9SgFQ7f4KwA3v9JvYutbrdgA9zWMt9AhHrG+FAdKfeoSuNmgyfi20rUmW80gf2FQLk7aHuNsUxKVCO99XFVKdUTGAEOyHfoLiuAUuDr6w0+8HeYgX5697sg5zjlv4EQ+x3Qxe0u6g80g8ZLPRrniQ0vhptSGE5xjEn94GmtwKW62S7bNM5ceWI8mfXI8wW6ZZ1lfggukwr6oNR+3E+k2se35frbEYBhKzKj7Rw3Ym6jTDuQ0lMmWCstFNc1IKU= 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)(376002)(39860400002)(366004)(396003)(136003)(346002)(451199015)(36756003)(6916009)(38100700002)(86362001)(4744005)(41300700001)(6506007)(26005)(6512007)(83380400001)(8936002)(5660300002)(31696002)(2906002)(316002)(66556008)(4326008)(66946007)(8676002)(66476007)(31686004)(6486002)(478600001)(186003)(2616005)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?DnUEVEEvL/aE7nJQYid08pOJ1P8h?= =?utf-8?q?75/03G02K0o57BPOlAji+pw+KKI5mTlbAs5HEFCNs7IA1M0qRpw6Dm303OkCeOZXK?= =?utf-8?q?D9uj+7AwSk/OFocZKT5QALDM05GlvyIBtjxr0mvhe3ue6+cDfhn4W10lEUSEmvO9s?= =?utf-8?q?kV8NQK+jkY08cn0DzK6bdYiVDEkFWMsO4Z2ohZUh8RtJ47FJrEZ+Jy41SLCbrHUi0?= =?utf-8?q?uYccEYOkUlmInIGCP4JCJlaxtQwSbrEjl/koC4ZdIJ4Axvis0yPrXv8T3MnfnLndu?= =?utf-8?q?uLTMqnPKs4ZpwXBHukvm+aI6856t8LQuUN7nx5n4WA0kWAQXDYDia07HAV9URr7sS?= =?utf-8?q?+VQ1EAbeaaFSay0TgYQIEleMxJivMNmgLQUwO6AbTZaW3XFV0+2sdZnWgj6tjNQZE?= =?utf-8?q?Rg+wDIzoE8HqvpqITeN28jqYkKKBwiT5q6MU8VDM58dANLk3qg+LPMSQDjhrMH5TN?= =?utf-8?q?ZV8OgR9zSiy9yYiFuUmaiJp6lfGqWeCtlqzM6JNxwfXzIpwqmZXDHulCFbA9P84D1?= =?utf-8?q?ka1S2elCRbmyZ/tdcHbdxLHxyjBPF2A/+W1A/y6wvSwLbGT7zEht/Hd9X6BMY0mSs?= =?utf-8?q?5t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cH/Kl+q7MNKk8Qrty5YLEV3FinYCprPcVdmFX5ee6Wxxx/IqL9A55dAMf9c?= =?utf-8?q?g6RLiHDPmE52?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8fceec54-b81f-41e1-ddda-08dab659e1de X-MS-Exchange-CrossTenant-AuthSource: VE1PR04MB6560.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Oct 2022 07:23:58.5732 (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: bd3KW6JNY7dyy/Ia+M1OAef3Bb4Xjqo052BW7SLNecgmiBZoodbM5gqqY5nPlp0JG46TW/WEdm/FtCvCEQ88iQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR04MB9493 X-Spam-Status: No, score=-3029.7 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?1747643430811184130?= X-GMAIL-MSGID: =?utf-8?q?1747643430811184130?= ... accompanied by a few other improvements (or so I hope) found along the way. The only change in v5 is the re-ordering of patches, such that the (controversial) change for move-with-sign-extend is last (and hence other patches can - hopefully - go in while the controversy is being resolved). 1: constify parse_insn()'s input 2: introduce Pass2 insn attribute 3: re-work insn/suffix recognition 4: don't recognize/derive Q suffix in the common case 5: allow HLE store of accumulator to absolute 32-bit address 6: move bad-use-of-TLS-reloc check 7: drop (now) stray IsString 8: further re-work insn/suffix recognition to also cover MOVSX Note that patches 4...6 were previously approved (albeit 4 has now changed because of the re-ordering of the series), but can't be committed ahead of the earlier ones. Jan