Message ID | 3f44f9a7-2f4c-d92d-ec19-5023f317357a@suse.com |
---|---|
Headers |
Return-Path: <binutils-bounces+ouuuleilei=gmail.com@sourceware.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp2390738vqm; Fri, 14 Jul 2023 03:01:42 -0700 (PDT) X-Google-Smtp-Source: APBJJlFfAdygnERWowRuC1oOnmNCjNJoYtp9MnbXhgLp+ePyZg2RoHLeV/tvrBQvDBNlFtfbU97y X-Received: by 2002:a2e:9d84:0:b0:2b6:e76b:1e50 with SMTP id c4-20020a2e9d84000000b002b6e76b1e50mr3716471ljj.41.1689328901906; Fri, 14 Jul 2023 03:01:41 -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 qp12-20020a170907206c00b0098759716e36si10100599ejb.217.2023.07.14.03.01.41 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jul 2023 03:01:41 -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="k0/z53uQ"; 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 A24BA3857724 for <ouuuleilei@gmail.com>; Fri, 14 Jul 2023 10:01:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A24BA3857724 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1689328897; bh=kk63wScZwWYP6zas4gSJwzyl5kLX1jpucglkiuzVc2M=; h=Date:To:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=k0/z53uQTaalXLO5kYl+1qclSkRJyPwOeLYINlVsMOBkq7tXe0LG5ps2U4h02rm4F WFa+agy+hXrjetA0bbjU6VKEQIly0wslcFHRyQbGyhCZCf21oK20nekvuLORAWy6zU 0oFwvqqcCgBCMunkpjOVOGSirEeaJTToHgOeX0Q8= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2063.outbound.protection.outlook.com [40.107.6.63]) by sourceware.org (Postfix) with ESMTPS id 6FC073858CD1 for <binutils@sourceware.org>; Fri, 14 Jul 2023 10:01:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6FC073858CD1 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EAFYafNalP2gsm1mmiuXLonsQaF1t/pScpL6qQxsIe0D5kyYe3cs69Dk/NCM6a0OaXjV/9xMq5tEbEBi1ffSmRPfVkWC4FDgxOSW1WsJCWPZtPyRjB3QAaA3hnrQsFY20Kvr452EqtPvQ5eClC+BCbQV7v//vLQcncOZ0o3jnFFiiMVfEvdti3b/M9M/jNL+XkOIDYekchSO9BvzV3jBKqT7sKdcR9PNH5h8CB1d4J84Jklo72DTVJS9pSuNefwnK3tBL3j73w0H3ncT8JiNuoArorrjty+NUaveVS9q8TZa+RyV92UFDqQlFi8Od7Ix4UtdSrkiE/cd7balyVC22Q== 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=kk63wScZwWYP6zas4gSJwzyl5kLX1jpucglkiuzVc2M=; b=Ju3ghj3OicjbPaolDKXr8AW5ClTTozQOAUwbEmQDPwfH0a9Dj6Ft8eW0yDqaqNfxjNHrVN4xvKHsrY/1DuO47MLUDzAoH2fiMBMR4v2rILQVFleBJeo9yqqGAkjQBIxVM2v0iuDRQ9BMz+VkhEYqzLQoFZ0PoxolP/a/0q70+mg0KI7J3HgM5XCPGNfUGmMqHAUh2OSy+AuYoITgzUa3rofH/dUFY2/Vc7aFxJe5uGOP3M0beHGajc7+zs90pMGOyflXn0yEZJDvEVMW0MCwdG6YcV/Y9+ociWkY6RFz64QILVvjXFJIWGNlSjU4QH9lQ6sfAP/YTcgZ6tZnEJCgfg== 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 AS8PR04MB8788.eurprd04.prod.outlook.com (2603:10a6:20b:42f::21) by AS4PR04MB9241.eurprd04.prod.outlook.com (2603:10a6:20b:4e0::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6588.27; Fri, 14 Jul 2023 10:01:23 +0000 Received: from AS8PR04MB8788.eurprd04.prod.outlook.com ([fe80::cbc0:69aa:c9a2:198e]) by AS8PR04MB8788.eurprd04.prod.outlook.com ([fe80::cbc0:69aa:c9a2:198e%7]) with mapi id 15.20.6565.016; Fri, 14 Jul 2023 10:01:23 +0000 Message-ID: <3f44f9a7-2f4c-d92d-ec19-5023f317357a@suse.com> Date: Fri, 14 Jul 2023 12:01:20 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Content-Language: en-US To: Binutils <binutils@sourceware.org> Cc: "H.J. Lu" <hjl.tools@gmail.com> Subject: [PATCH 0/2] x86: adjust disassembling of selector-access insns Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR2P281CA0006.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a::16) To AS8PR04MB8788.eurprd04.prod.outlook.com (2603:10a6:20b:42f::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8788:EE_|AS4PR04MB9241:EE_ X-MS-Office365-Filtering-Correlation-Id: f92699dc-fd59-451e-30da-08db8451476b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8pb72uSNlfwcJJJHMI/sT+fZsC577O5Uc7Cmz37QDN/fsOVgiMvoXqgJIw45CiwXR8rPsx0r6qj9xL8Tw8n2oG16SpgTU6o8wcPRJ+AfXzOYEnx2Mw8T6wsyJZZyeoxr19EhEx9BAYzxjJzyifomABjFa8NpJQGkMpfr0wBIl04TPVPuPGiPzKuSv7YVNAiEXGP5zyBQBUmquIMNTTdZ8Ti+Hitznaj2twi7cR0VIM3z534M3LqUORLCHW1mzi+qpBDZ73JTNlTtc+XcEaQOvQplF+9Iz02AzCPwdJak3csw/lx9qi+60dK/YkS1R12yoRw/MO9uo2peEZDtKDWdwtOPqkF6GM36PnbHYqL/dWHHvfc3R/w27xLMsomjp2Px9HIMuYKrZfrKbLoTxgFiiO4dTwyZmgqYG/rlw0WCkJ0SEmJ45XTE7b/o6k5mCUIu4jyJD26Mts2pM9hIs0GAXs1RkWWgfdGzEiI5MKISE+R3/E5qwDNVZ0sa/h2++etAMcmJjZN1pmDoJ7biEB0aY1y6ZZC1t1wISZxReU68T5PTMDqMWG5XHL7W6ISSR8Y5jsakzMSEwqQp/KRYvnekXCigb4A01rZHvvkeu12hoGIW/IwZ+RRT/C2Zm/ZnMUgesImMoBF2HjGPgLNjzD2SGA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR04MB8788.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(376002)(366004)(136003)(396003)(39860400002)(346002)(451199021)(2906002)(4744005)(2616005)(31696002)(36756003)(86362001)(38100700002)(6916009)(316002)(4326008)(66556008)(66476007)(66946007)(41300700001)(6506007)(26005)(186003)(31686004)(478600001)(6512007)(6486002)(8936002)(8676002)(5660300002)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?jMl4pojaHJWwsg2k86MuYMqB70ra?= =?utf-8?q?fYTKhPyvzikbpe/vYYBzn+18gf2OnJ+Qov1ay3gE0MF0YtLTp0jd8oHQG0fZ/m/ew?= =?utf-8?q?52kJ5g7hsEKGCmzjdAFPKRcHWa/d/s3NYlqmOruIqZqSx5mSVfeQaXOj0LX6Oi70S?= =?utf-8?q?j9jrr/0OSYfacvcTAU509DyIrgdT/rge6KXkbb5I8v3+ccHPHnZ6+8O8koCyBpV2z?= =?utf-8?q?zQTdHDIVJnNgv1ghpl2r2AXOcbdX242CiE67UmH9jujxz9Coba2SNK/acdNnbFZjX?= =?utf-8?q?3H7llb0Gu/yzMeO3+12MDExXal+S7UX0T9eDzjhN4H7BSaqhCRg3KQRZFU5WJ/Rc+?= =?utf-8?q?eSXDymWLS8oCE7TFX5wqnHWgRBiSdutcbCEbEwjHsUr7Re6QsQ0AGkWuifeArDOLz?= =?utf-8?q?vCWT5zxHECPOcdDOwmWk2YQTYRW7oIhDVLe7Ue2bsmMK3o1hpgAcdHFo/lI/Kut5q?= =?utf-8?q?gEMQAtSMhAXpiahmSTVZHEAyH1B0oYJ3WsYfr2xk9iDjUJCtDPDVABNOS/Yfs+IZ9?= =?utf-8?q?0fidEOQ/i5Qtgs5QNJZfSJLWtRlAQmKp1dl2uZ9NVWhp8tFEP67icFR8JQjGMd61O?=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?utf-8?q?1SIuMeMNkCGRappEXnwYrm9Of7uIX69IG5DOZyxjvm8jAv00t4mM4MArdVJIfbq48?= =?utf-8?q?yasBfB6u9gIl?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: f92699dc-fd59-451e-30da-08db8451476b X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8788.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jul 2023 10:01:22.9725 (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: 73UG7w6pZ4bFPGbCa3UV/xnZGzjLByEsjfv7ZmpGdh5HX1PlwD3Ii39z81Q9k7kpF8JLKQz+Ub++DSLqh0d19A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS4PR04MB9241 X-Spam-Status: No, score=-3027.2 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: 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: INBOX X-GMAIL-THRID: 1771389742645815608 X-GMAIL-MSGID: 1771389742645815608 |
Series |
x86: adjust disassembling of selector-access insns
|
|
Message
Jan Beulich
July 14, 2023, 10:01 a.m. UTC
While the first patch is merely simplifying things (back), the latter (slightly RFC) improves consistency on the disassembler side along the lines of earlier improvements (c9f5b96bdab0 "x86: correct handling of LAR and LSL") and ones done only on the assembler side (5eeeafe0a688 "x86: have insns acting on segment selector values allow for consistent operands"). 1: simplify disassembly of LAR/LSL 2: adjust disassembly of insns operating on selector values Jan