From patchwork Wed Sep 27 15:47:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 145427 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp2721261vqu; Wed, 27 Sep 2023 08:48:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEPwHBWwkmXSxcByHfANjg9MDpehc+g8kkQy7I1QrGomT5yj/SL9B7OH3gkI+9KrUGRd7v+ X-Received: by 2002:a17:907:7857:b0:9ae:4ead:6c06 with SMTP id lb23-20020a170907785700b009ae4ead6c06mr2028385ejc.30.1695829716177; Wed, 27 Sep 2023 08:48:36 -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 t1-20020a170906064100b009a593bf05bcsi13885117ejb.624.2023.09.27.08.48.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 08:48:36 -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="OA/d4qLa"; 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 645E838323F9 for ; Wed, 27 Sep 2023 15:47:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 645E838323F9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1695829660; bh=Re69Sb3VglOWKEl0s8jud/aO4ZFdVhCSDbh2/ooSfDk=; h=Date:Subject:To:Cc:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=OA/d4qLa1vHRaHzgGwt2U/D3qzDHJ5fBUFf8aMMYwaBmkTo0jDIUyHBU6SmpGxor7 pijHzgKktflMxHHrkKbqsE17kGpWnqqu7CaQ0Z8BHWXNOyA5blfWI1FwHW4Yp57Pkp MMfpnXawrET1mQoIGdPEkOtP8Xgvxc5b2Y2aFuDM= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2083.outbound.protection.outlook.com [40.107.104.83]) by sourceware.org (Postfix) with ESMTPS id 4DC543865C36 for ; Wed, 27 Sep 2023 15:47:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4DC543865C36 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WRRN+65ospvV//55MtQB7eT4XkULmDXwaQNd1/cmWG3nKHwDVVZQvqZUhK/LVoKTBPHuAENfMD0Ul8QZlbSKnVLmxoCqicZJY7ZUH9BVFtrlzc+lWLLjQfBjpdYRAe5zgOelm3z+sb4QjbvrOF5EekwsQ43iCgh3ujs8PwP3RpqU2dSrmdT2g9R+YVI8srYMVsOq5ajtNBh+r6F0C43MkGg+TFtOJ6T9KMeG0m+UXcNsZYltSAO1OFOyz2B1Eu5x95v+IrKltqbEVm97pngOjkPJZ7RwFVtXwFqYzYK1kgnl2n5mFKdkjzqMsTn7DpMt+XJN8GwmKgZen6L819Rigw== 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=Re69Sb3VglOWKEl0s8jud/aO4ZFdVhCSDbh2/ooSfDk=; b=od/1mNbyDwtB6pnmF9xEBVPDNyyrocIbcvRka9cp633yMMwwlmCaHBJWQm0M3mLoXTNiHjEhkx29BHHvrOSj1WsJQNrPTbMzV+Z6KNj756fzYzMage8s/n4uit4IH+NJNE/gQA58fy8oTAhlzUp0367guxWealyxAhhqfopKNt8zGxgSCXUJTQd+WZIxwBQo/irARpT06NmMMbQL7kpx/1NlcAcPVJEZlWuZE5HeDCWENGvLztsOn/3i3O99yT62FNwn2UME6ybaBF57CM+3vP2yVVE0eHixeYWQlFvIFcGAKE8cB5bG9Bp9rqygpKNvDPueypm5GN28Rs9kZmkJ6g== 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 AM8PR04MB7812.eurprd04.prod.outlook.com (2603:10a6:20b:245::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.28; Wed, 27 Sep 2023 15:47:29 +0000 Received: from AS8PR04MB8788.eurprd04.prod.outlook.com ([fe80::afae:3fda:c84d:bcdc]) by AS8PR04MB8788.eurprd04.prod.outlook.com ([fe80::afae:3fda:c84d:bcdc%7]) with mapi id 15.20.6838.016; Wed, 27 Sep 2023 15:47:29 +0000 Message-ID: Date: Wed, 27 Sep 2023 17:47:27 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: [PATCH 01/11] x86: record flag_code in tc_frag_data Content-Language: en-US To: Binutils Cc: "H.J. Lu" References: <7ce54bc2-fef2-d2e4-21fd-202fdead0c20@suse.com> In-Reply-To: <7ce54bc2-fef2-d2e4-21fd-202fdead0c20@suse.com> X-ClientProxiedBy: FR3P281CA0109.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a3::9) To AS8PR04MB8788.eurprd04.prod.outlook.com (2603:10a6:20b:42f::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8788:EE_|AM8PR04MB7812:EE_ X-MS-Office365-Filtering-Correlation-Id: a68b6f01-befd-4c36-ff76-08dbbf710e15 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4jXA4fV0BkM2Q9QpgaHtKai0CcJPkJnjoPbBgkOFMWkIlyWqqaCHkBVYX+XXiPzTDXhwl/+vjJsiVmcMa5z7+u+QN943AlC5kgHVazGWDGWq+m/LbR754SaCl2PeCLS6ebGyBSguIWtKf983AtCRO98Ibu5TE/YYRFm+WF5fS4FAqMIxdtHQ07cjS5QOmN4qgvfD9acJXrGaCJviUaopcvu7i0dsAzd3WUcZYg5qIbbFuLrMsYeaRNzjcNcuOluepcKwsevspNhwJJJLbyh2aCBLGRwShuiZAWJj9tKiOPViwewhHLUhAUx0Lg2cVXRaKfZyPs8iUjwhFrX/r2Vuu8LL/nDwKi4oxwcEN4UvObeRU30pl/1d/r2Q+9k38zcWxjcKv6V1kfM5sV/iAZZL/1mUyDrtRnT776yqWOc6LTQWsI1T+Mze4TZo5S8HC5In1p43LzCUFlVXYPHHKoZqAz/HdSFlWYEcVm34huP9e3nX21XvO4ljK3Oxf2y7cLblSMKHwAaFh+fAM9digdiablNR6FMaF45c2gjBr4HRwUsxoHT4lMdSgmyKkT1rZt6VANUDfENkG5w5zOeBq6M94IeKiFGcUFJNGwm0mXB5qfzMHCz6xtQEh5IWSXVhyu744bs73/h35UeNj9zXzTgq8A== 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:(13230031)(396003)(376002)(366004)(39860400002)(346002)(136003)(230922051799003)(451199024)(186009)(1800799009)(31686004)(4326008)(83380400001)(5660300002)(8936002)(41300700001)(6916009)(316002)(8676002)(36756003)(66946007)(31696002)(66476007)(2616005)(66556008)(6486002)(6506007)(6512007)(86362001)(2906002)(26005)(38100700002)(478600001)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?aeh+iOScyzgWmNs1qAWGKEeDk4pP?= =?utf-8?q?YuypINQEBulb+iWyduWwTyGat8+l8YKVL/HuPcuiR8AgPRVIWk4kYN+AKyaoBJaGq?= =?utf-8?q?D/djVljiP9b/6pYeTzsHgd0i2nhkta5FQKzMVCfJFTofgjNSOWFVqEH7ZYFI6iJwh?= =?utf-8?q?7qYNId/TkEKl313ulvpyderTJAJIPbTbuVjgoJeYFP9mQ7EOevNjpmsrfTPNf8jF5?= =?utf-8?q?FgVtL8oK77XgCvryF55Sqbagt+Csee+/fpyfE6wC7ZdJYvJUMXqCj3AHV+47ybgkB?= =?utf-8?q?4nZnevkjVAqZVpqIwB0Yyx2KtTEzyQa8e5v4ked67DkAsJRF+LUYbp3dxzeYhcXAx?= =?utf-8?q?Cgh5lA+2awZVyOKfHskVpAqSPvMRD8Wrknt+b5mWOc1S8nE3zho92q8F6pSGVqPKW?= =?utf-8?q?ANNuRp9umm4n20OUrbO1/PCPcSw0+9RRhGtdNy1WqKeht2u6I04h49i/KdHpit+7u?= =?utf-8?q?RiOlIrZxqj1JKOW0I8CDNtNdj/lB3y+hXAaCsjt2q2439lCvMHSezx6X9Y8leZ99W?= =?utf-8?q?9fYLTQPlFkeufTPoqIDElr2D1OBVn/L7dx3jthMMEicHfWX4DBQVH+xPFpY2B7NgK?= =?utf-8?q?6/N9UHjD+Qh29C9I0oXE/xmPjl5Qe1CErdUxAtXKaYMsZis/AIzfl6ZtKvfHSDWXc?= =?utf-8?q?81pldXGGkxKg+C/Sz6XO9bAuS+yWDVc0s1Kth6lpo3XztexM/wmSG14PlOpOOLp31?= =?utf-8?q?2OwmSR4rPj/ZzQkV4DE2ROk+3yjuyQS2cLGWdljRhQ84rzcy5RljA+/m+lzXI++xY?= =?utf-8?q?ENGWl1byfBUP6HNlMatxVkjOKng3MnZIZbQlNHsBVFu4fo8DGN6pYZOOLv5j9vcVE?= =?utf-8?q?MzWeKVMpO7J7hCD2Xk2JnM7Rj7vRQY6PVLUPDXBCjMD4dPkYwi0V3XdV02bKAgkg/?= =?utf-8?q?ron3wZ/qy3vgzC8keNbfN7sl8+/D9jrGzFyJO0UCsHKIFRPHiQ54JYAxOZLVMeh1c?= =?utf-8?q?hcuqcym5bA/XO718ayMbb3nmBfIDqydAk0uuPH3kWjpv0f9igogQDKY9Z93z5BEtO?= =?utf-8?q?yDYnMWLVszhfSujOmj/h3ButnVuEkNlYEC5pZ/JEvzw76mtzQxNux40qtiGMW/Xqr?= =?utf-8?q?8PZ0bqlMfwMep+/4/DbDxeyJmnX+r/IvD3JCwNQ3iH8kalls5Ku63FvC0h4bixj0p?= =?utf-8?q?TRhIVVGGcg2Fej475M1qd8th9ZIdyDu+N9az5K+ZVDNGsQuGOwpMcuzoWRv5c8bi1?= =?utf-8?q?4dVflx5ca8O1X6vtwG/Lmriik28VO8FcDGE8vKRh2vbtMbgvCqVF3zBUUOadFmj4/?= =?utf-8?q?T3h23vCRM7Kc3DlThU2Ni4sszKeUvV9KKdNmL/TkmgnEmMlFTJqIKFKgRsEzlwjOL?= =?utf-8?q?AhfOr0C120cpuizNtQg3+TKd3BGNXmyO2UEYhiFVXxiO/+qUV+5fZ2xnL8A22gbxw?= =?utf-8?q?6cbZC5NBgXtWDqTJ/gqFiElrgYUG+fq7YpqbFae67ihzcU1zEpGuW7qM7EQSjQnWA?= =?utf-8?q?1961HfOsx5DscjNwgt/A62m0D/EnSs8mcK8YZvCdNP7jO6/5qetnw5zrj3YawWxm0?= =?utf-8?q?tmUMsbLJguaF?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: a68b6f01-befd-4c36-ff76-08dbbf710e15 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8788.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Sep 2023 15:47:29.3021 (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: PXRRLEr27PbFcJ1JbljDV7ijepQwAVQxRPYK29CPizt82/6uXDNrs2h4bPZaa0flTG31RnZKCb5niDWhE9N3hg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7812 X-Spam-Status: No, score=-3026.9 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_NONE, 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.30 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: INBOX X-GMAIL-THRID: 1778206340612297722 X-GMAIL-MSGID: 1778206340612297722 The recorded value, and not the global variable, will want using in TC_FRAG_INIT(). The so far file scope variable therefore needs to become external, to be accessible there. --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -165,7 +165,7 @@ static const char *parse_insn (const cha static char *parse_operands (char *, const char *); static void swap_operands (void); static void swap_2_operands (unsigned int, unsigned int); -static enum flag_code i386_addressing_mode (void); +static enum i386_flag_code i386_addressing_mode (void); static void optimize_imm (void); static bool optimize_disp (const insn_template *t); static const insn_template *match_template (char); @@ -579,15 +579,8 @@ static int this_operand = -1; /* Are we processing a .insn directive? */ #define dot_insn() (i.tm.mnem_off == MN__insn) -/* We support four different modes. FLAG_CODE variable is used to distinguish - these. */ - -enum flag_code { - CODE_32BIT, - CODE_16BIT, - CODE_64BIT }; - -static enum flag_code flag_code; +enum i386_flag_code i386_flag_code; +#define flag_code i386_flag_code /* Permit to continue using original name. */ static unsigned int object_64bit; static unsigned int disallow_64bit_reloc; static int use_rela_relocations = 0; @@ -9162,8 +9155,6 @@ output_branch (void) off = 0; } - frag_now->tc_frag_data.code64 = flag_code == CODE_64BIT; - /* 1 possible extra opcode + 4 byte displacement go in var part. Pass reloc in fr_var. */ frag_var (rs_machine_dependent, 5, i.reloc[0], subtype, sym, off, p); @@ -13524,7 +13515,8 @@ md_estimate_size_before_relax (fragS *fr else if (size == 2) reloc_type = BFD_RELOC_16_PCREL; #if defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF) - else if (fragP->tc_frag_data.code64 && fragP->fr_offset == 0 + else if (fragP->tc_frag_data.code == CODE_64BIT + && fragP->fr_offset == 0 && need_plt32_p (fragP->fr_symbol)) reloc_type = BFD_RELOC_X86_64_PLT32; #endif --- a/gas/config/tc-i386.h +++ b/gas/config/tc-i386.h @@ -264,6 +264,15 @@ extern enum processor_type cpu_arch_tune extern enum processor_type cpu_arch_isa; extern i386_cpu_flags cpu_arch_isa_flags; +/* We support four different modes. I386_FLAG_CODE variable is used to + distinguish three of these. */ + +extern enum i386_flag_code { + CODE_32BIT, + CODE_16BIT, + CODE_64BIT +} i386_flag_code; + struct i386_tc_frag_data { union @@ -275,6 +284,7 @@ struct i386_tc_frag_data enum processor_type isa; i386_cpu_flags isa_flags; enum processor_type tune; + enum i386_flag_code code; unsigned int max_bytes; unsigned char length; unsigned char last_length; @@ -285,7 +295,6 @@ struct i386_tc_frag_data unsigned int mf_type : 3; unsigned int classified : 1; unsigned int branch_type : 3; - unsigned int code64 : 1; /* Only set by output_branch for now. */ }; /* We need to emit the right NOP pattern in .align frags. This is @@ -301,6 +310,7 @@ struct i386_tc_frag_data (FRAGP)->tc_frag_data.isa = cpu_arch_isa; \ (FRAGP)->tc_frag_data.isa_flags = cpu_arch_isa_flags; \ (FRAGP)->tc_frag_data.tune = cpu_arch_tune; \ + (FRAGP)->tc_frag_data.code = i386_flag_code; \ (FRAGP)->tc_frag_data.max_bytes = (MAX_BYTES); \ (FRAGP)->tc_frag_data.length = 0; \ (FRAGP)->tc_frag_data.last_length = 0; \ From patchwork Wed Sep 27 15:48:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 145429 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp2722387vqu; Wed, 27 Sep 2023 08:50:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFUQbJWK4xmFW6gOQ86U9QL7qZXAPGVnflEiJXmdN9f2rCnPoeAO30D+YSCJ/RW5A/RmmxD X-Received: by 2002:a2e:9d5a:0:b0:2bf:a9b6:d254 with SMTP id y26-20020a2e9d5a000000b002bfa9b6d254mr2095526ljj.50.1695829845840; Wed, 27 Sep 2023 08:50:45 -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 h19-20020a170906829300b0099e04cdb98dsi14715260ejx.310.2023.09.27.08.50.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 08:50:45 -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=WVqn9nLE; 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 415803831E20 for ; Wed, 27 Sep 2023 15:48:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 415803831E20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1695829716; bh=XJ70krwPxm0LXoCfVwbPIlGD+ZMTpUhkNBOs9Ds71Y0=; h=Date:Subject:To:Cc:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=WVqn9nLEgfrYA9Zam68IFdnEgjvONH5coZbpJtN6C/PkYekqJxzQGUEhzfK2lBMNw WT0QEJoxpb0BgnMYzkzVoQOmVSjCpmcFRGcT3jTNszkZAftibCWi75C46s9zmsjSsO rebG9uWjSaWPLfdmrw2ru8+GlIrBXU16nW3xLtd4= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2068.outbound.protection.outlook.com [40.107.104.68]) by sourceware.org (Postfix) with ESMTPS id 97CBD3882641 for ; Wed, 27 Sep 2023 15:48:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 97CBD3882641 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WhjdY6r4m1ul/NkKPcfDxyb69NGBQgQ8V2AvZ28nc8/Ton9B/sOOMMnBdoaB0txjUl32F01DPG0XVUG4NkcAI4ZGf+vA2Ryq0Qd86UulKKtGKQh+gTqYv18Pz93Kc9FiwWuixG0dNhAaO3iKiJo/UkFxlZp0RD210piXlRW7T3SPqxT7K22CzTPKEGtQ3QfS8ePKI6WL9Kqct9X4KbpzNnfBYLYS3gHAUdQxLpcx8eN2KIQahi9e9CoQFxNxZl/3k6Ujtz5Wfiu6SUfHWy5iMj1OwMkK2NcE2QR1+iAqxotw/pxzEKvjB1wxIls2mwTL0/CCfMe26V+85dQUFCu1uw== 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=XJ70krwPxm0LXoCfVwbPIlGD+ZMTpUhkNBOs9Ds71Y0=; b=eDG7kix60NwM34beP566zdbU4MuQvKLaAQJBZ/g+O/ZRTNBp3gZUINHadxj4bUJgD2sMwhKzUMH09pLW2jim5edpq4hTex91ixBr1mzTPEs0DhejbHaiX2XJ/gjTLGAxLOAufhbWrQqsX5GYUiZJ3HP6i2Z8nrvf11z1nBBTEWMfAUfBIUr0yayf6k6YFIT5oDgZipxKPfKEtRwcCiW7UlKjfv0dLlmDzSzTPMLQd34x4MSOJ6n6nWve6pieATp2uFyPwPIGv52lXuHZOg/s1dXXYcPPqXldheE1S9OdPFJJlfa/pA7RZZ7sJp2cSle9cnteO0DcjQsX/+6ITGBUxg== 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 AM8PR04MB7812.eurprd04.prod.outlook.com (2603:10a6:20b:245::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.28; Wed, 27 Sep 2023 15:48:17 +0000 Received: from AS8PR04MB8788.eurprd04.prod.outlook.com ([fe80::afae:3fda:c84d:bcdc]) by AS8PR04MB8788.eurprd04.prod.outlook.com ([fe80::afae:3fda:c84d:bcdc%7]) with mapi id 15.20.6838.016; Wed, 27 Sep 2023 15:48:17 +0000 Message-ID: <85a2958d-3a80-7bbc-ffa3-4078f34eeef2@suse.com> Date: Wed, 27 Sep 2023 17:48:15 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: [PATCH 02/11] x86: i386_generate_nops() may not derive decisions from global variables Content-Language: en-US To: Binutils Cc: "H.J. Lu" References: <7ce54bc2-fef2-d2e4-21fd-202fdead0c20@suse.com> In-Reply-To: <7ce54bc2-fef2-d2e4-21fd-202fdead0c20@suse.com> X-ClientProxiedBy: FR3P281CA0109.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a3::9) To AS8PR04MB8788.eurprd04.prod.outlook.com (2603:10a6:20b:42f::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8788:EE_|AM8PR04MB7812:EE_ X-MS-Office365-Filtering-Correlation-Id: 551b06b8-32db-4c14-36ba-08dbbf712a81 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8e636IHCcLgBUE/3GjqKD7Og2VluUbzPy23MJqCJ+7BNN2U74+3eZmg+oHoOulDMVWV/XsK0uc604lICUhr3tCQaQo7gU1qiC5dRSSgHVU4tBwNnoYgjUMbHB+VxCA6n612adqcDpmRSj815HEXO55iepgzDaT4newbJ1XO9iG/BBvqSuBa8+Q9EkXPu9zAJiR32DUSifaGaKAmL2uh6oAOfVchSLccoccpsn7eTeDHd2+rkHcTqJnRm2Oi3ZYarYuSSrQ5c/5PJ68Qh9/g5CeZ3tfzDU7ewxjRuYqPf/TNtMXDAmxdJl3hZpEvv81JvDWlmm2qqiCN7qzRCjlbyir2sWrcLVKPqMFSRVPjmHpect0TpgQ5LO7PihcJSreM0IeRFx+f465tDqEnbl4kntAETHmaGgdn/AhJ2YJrIJK8N+Q/z0dyO1t31Mj78/VkqHFJ9oBzKbh2NqVmvJChbbYrlwEZSW9307CrPXvVMWwzbgmvECtweBe4Oj8qz4DXCs9qEwZYQ/XMqhQYW18D/e5Fl9/Jo1J+lalBx1H3m+t9dEklk0byfjKkmVaJH3RdKjBk1mkPLX4ur7QHxq5/ykHPFbeeuGOKZhKfa6IkVXSIZnJU9LWTZOgvbERtrw0tvmcwMErMc4cihCTeZCfTE9w== 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:(13230031)(396003)(376002)(366004)(39860400002)(346002)(136003)(230922051799003)(451199024)(186009)(1800799009)(31686004)(4326008)(5660300002)(8936002)(41300700001)(6916009)(316002)(8676002)(36756003)(66946007)(31696002)(66476007)(2616005)(66556008)(6486002)(6506007)(6512007)(86362001)(2906002)(26005)(38100700002)(478600001)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?5v5GVweir8mEgB8vldPbkWRBlstV?= =?utf-8?q?ZDuee3oRbGZuOPzF97t6tzPSmZNfTDwRWJ2LRsbIUUdEXn/XbwY3WlRtioLyNQHgW?= =?utf-8?q?Mnr8xvMpGJFR/THiV0mVidXn9Tjuyi+zO1CUX6eQVbbBgTik9Y2+tN7mkKwUglmzJ?= =?utf-8?q?ZbNEaczvsAr1mwryDuVSKaZ5vzakBgLFfZkt5qPktszB+9nt4aaXYv6OBbNQt1Aow?= =?utf-8?q?M3Ey8evAmYjhST4/RRIugR3J46aJHy2YLNxyH12DGb+4nL4lPoYaYRZwCMjj353lf?= =?utf-8?q?Bx1nY9SUEQkZiK4X6xIZ1dg1/lclD41aIjU6he58GDvdJjFubBnkWCEJ1lehQYeph?= =?utf-8?q?pnl+fn81ObOsJrpiyEDzxMfruEvB+QiIwgARPIedVKho+qEC6EoWAVLWYzSEdckhz?= =?utf-8?q?pNekMx8eIYf6wczcjiyzbn7tCPcdJ2WscOnO5MKfXcrL/4/zA1AaCD2v47q3cjQ10?= =?utf-8?q?OYJR+6OrPRFlVoJ40j8pgIHyHP540MOWjuus/O3bkAvKIONITKGA9vyv78Q+J/nv4?= =?utf-8?q?bg6xrsjYQf4VKFYq8YoSePNGJNrvxx10JG5n0cfjY+REghMtOIV0lBAObPY4rYNzJ?= =?utf-8?q?gK/oWfpDhMdcmlCL/rDLp1d1ihmI5FVU0WbmjHGHzQQA+jLFj5UvOEX2LsguZvtrj?= =?utf-8?q?hQsdE1fVK/30f+GUtEKWj7gkFhiTWByUAK6V3kGaFwGvDGeFfYq9skxWkAo7Xir4h?= =?utf-8?q?GcMrfREkSH2VvZ+9GeBFg9Eb0BwQ+SzmYD8PVXSjZmwJniLlARMhnhkSZ91nS8Du/?= =?utf-8?q?sbWkmm2+BQVFZxTPSlYrqiDM0sF/rQoHklZAFENcFJKUKG6XF4uFE6IP4TEe9ABPp?= =?utf-8?q?ORGEYyF4krA9LjxLTcH0VeqUO9NygDUDAdZ4sKdCFq9CVB5+ngbHvMZFQz8fbV48L?= =?utf-8?q?JHYEj1fuVqQm7cYyDpMb4VlGfdz4MGGZdZeAdgXV5GJdSaFhYd/KxVTl7xcXN7mL8?= =?utf-8?q?wZrRMXh3PckBY48Oghx5yFFIxGsGrkZAuOIpXrajMaYFOeWs1HKGVRuy4SanBq1dW?= =?utf-8?q?2M1p+s8jzAD1U2bwFuLgSa43nJOkDCbV+atQSyLOaxNz64VgiEiwdUZxVNs+NhZ9I?= =?utf-8?q?z2bY8ndyoqzb8OG672lf65jgK1CaSiC3U78HqI9Bad7RcL/6p4dJFutwntQkGOABd?= =?utf-8?q?uE1+3c6nf/YrVurCXbeZE7nTDSDezM0Rbga6nmFKWOla7gSFT7xeIlOk5/I/VJLa2?= =?utf-8?q?iG3rmAdKXuIacS+LPXFrgzIl4abt+F7pBImjoXqeTPg9yJhAP8Vs8n0G2crmJBNh+?= =?utf-8?q?lAv7U4F3lwHtrhlSstFJnLJWy3hySy/pF6ilztPuKKFm3pkEPDLavqLlMF0O6ENSi?= =?utf-8?q?PFNDwjQS2iBNuVauIFU5GMJptviBZgWNUwcp49rLSMEVp0ohEpjWb0cxLurHKAl/S?= =?utf-8?q?PiihpVVZIc1h4+8uwaG/iBFpLH7WEJHFOOVCAUicge9+MBoMFnn9Nm/rquGUDX7sP?= =?utf-8?q?8YxynU5TofK2VawqmgAWHSU/zsUSIIcrL2Lew46ddlBZKjyN9sKdEa9v8JYQoP1Xl?= =?utf-8?q?7WGt1ce7ULi6?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 551b06b8-32db-4c14-36ba-08dbbf712a81 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8788.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Sep 2023 15:48:17.0889 (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: hN2HiWXeDT1U0toAU5SrYPrd9W00dWfdqIX5NM/w9QkibgSuE2w68MhcbI/ORO/oLd97dOs9t/cI2rGnXizmvg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7812 X-Spam-Status: No, score=-3026.8 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_NONE, 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.30 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: INBOX X-GMAIL-THRID: 1778206476294586374 X-GMAIL-MSGID: 1778206476294586374 What matters is what was in effect at the time the original directive was issued. Later changes to global state (bitness or ISA) must not affect what code is generated. --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -1434,7 +1434,7 @@ i386_generate_nops (fragS *fragP, char * When -march= or .arch is used, we can't use anything beyond cpu_arch_isa_flags. */ - if (flag_code == CODE_16BIT) + if (fragP->tc_frag_data.code == CODE_16BIT) { patt = f16_patt; max_single_nop_size = sizeof (f16_patt) / sizeof (f16_patt[0]); @@ -1446,7 +1446,7 @@ i386_generate_nops (fragS *fragP, char * if (fragP->tc_frag_data.isa == PROCESSOR_UNKNOWN) { /* PROCESSOR_UNKNOWN means that all ISAs may be used. */ - switch (cpu_arch_tune) + switch (fragP->tc_frag_data.tune) { case PROCESSOR_UNKNOWN: /* We use cpu_arch_isa_flags to check if we SHOULD --- a/gas/testsuite/gas/i386/i386.exp +++ b/gas/testsuite/gas/i386/i386.exp @@ -148,6 +148,7 @@ if [gas_32_check] then { run_dump_test "nops-7" run_dump_test "nops-8" run_dump_test "nops-9" + run_dump_test "nops-10" run_dump_test "noreg16" run_list_test "noreg16" run_dump_test "noreg16-data32" --- /dev/null +++ b/gas/testsuite/gas/i386/nops-10.d @@ -0,0 +1,13 @@ +#objdump: -drw +#name: nops 10 + +.*: +file format .* + + +Disassembly of section .text: + +0+ : +[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi +[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi +#pass --- /dev/null +++ b/gas/testsuite/gas/i386/nops-10.s @@ -0,0 +1,6 @@ + .text +default: + movsbl %al,%esi + .p2align 4 + + .code16 --- /dev/null +++ b/gas/testsuite/gas/i386/x86-64-nops-6.d @@ -0,0 +1,13 @@ +#objdump: -drw +#name: x86-64 nops 6 + +.*: +file format .* + + +Disassembly of section .text: + +0+ : +[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi +[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw (0x)?0\(%rax,%rax,1\) +[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax +#pass --- /dev/null +++ b/gas/testsuite/gas/i386/x86-64-nops-6.s @@ -0,0 +1,7 @@ + .text +default: + movsbl %al,%esi + .p2align 4 + + .code32 + .arch generic32 --- a/gas/testsuite/gas/i386/x86-64.exp +++ b/gas/testsuite/gas/i386/x86-64.exp @@ -116,6 +116,7 @@ run_dump_test "x86-64-nops-4-core2" run_dump_test "x86-64-nops-4-k8" run_dump_test "x86-64-nops-5" run_dump_test "x86-64-nops-5-k8" +run_dump_test "x86-64-nops-6" run_dump_test "x86-64-nops-7" run_dump_test "x86-64-sysenter" run_dump_test "x86-64-sysenter-intel" From patchwork Wed Sep 27 15:48:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 145430 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp2722890vqu; Wed, 27 Sep 2023 08:51:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHHmvsHTHx8vCQzuu5YLO8eD+/eQzmsDNwj6K3pUO/7/x0tJxKRzEHeqkauC6j6CJPNC3Uf X-Received: by 2002:a05:6512:15e:b0:4fe:279b:7603 with SMTP id m30-20020a056512015e00b004fe279b7603mr2004356lfo.14.1695829903651; Wed, 27 Sep 2023 08:51:43 -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 w2-20020a056402070200b00534487ae68bsi4936517edx.573.2023.09.27.08.51.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 08:51:43 -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=l1KqepA7; 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 3BB843830B7F for ; Wed, 27 Sep 2023 15:49:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3BB843830B7F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1695829752; bh=5UPWGAZ0DfUSidvtxXJcpmtgz4AEO4g387aRFWj1iOo=; h=Date:Subject:To:Cc:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=l1KqepA7DJK6aR2oUfp0U2zw7Iqz8iGatTSFCHgTIWwDxxq516LUGLqXe1TPEaVmg lpWkCGdXdW0Dizb+QxhdL4pDUxwYYdyfnsB1YbfOHlIONjv+kNNLoV4ktittlCRGdg bexgKHYYu31JTHm4e4svCxhdTcRySIzCRLXkM/z4= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on2050.outbound.protection.outlook.com [40.107.13.50]) by sourceware.org (Postfix) with ESMTPS id 94F2E384C2C3 for ; Wed, 27 Sep 2023 15:49:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 94F2E384C2C3 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jiIF7Fa5SzxKXVO5VWeJZ8+aSLNxZrAx08vwtu+SjCutq9gGkULb5JPWEUeZvs00IFJrYSzc+UL4/Nmk5BZPceGQDsUG5Qd2ogY3i0Q8hOTXkJYtXpqZ6v8IP70Vl0fhYGmJqhSB9lQiu7ovC3aedzuyF4Mo7TQLs3NvLMg2lA2aBIDVpth/ITj6Iicr7zYtzqhJsc/KahF6aIH5wjIdchCd7dxZeo+vXTAYPxQA+z1Tyb9EgkNJZRt7+djunE0TeojiaaK1QsyDoPaqNoZu5D7FxvUg+s5j427XHk0k/yLUR/+NeGy0mSDRPdgZcXNC3D3Rq1sOO7SI7o6YNFOupw== 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=5UPWGAZ0DfUSidvtxXJcpmtgz4AEO4g387aRFWj1iOo=; b=ncKZpyCoAt56NcVhlUSuopsl48kMZ3q42Khl80NauDXQb5Yw1RJqfUo0UIrQbhDwFx0HRDKv4rIc9cEGOz4RTQ6NrLzbfndUfIYwkER4Rxm/xBGQoLZ1PIk3oM81mXtxL9h1sMZ1dVOS+OB9dEjJ8AEEX+nD/luonnZHxYT5TekG1qQEv/l+awNrOexO9dpQb2G+DyiEM4CIcLv7dhuqQK3pjVjDY+Do6mX2NY+lmo3MG8NDSuaVN1lx3d7JyGqch8oPck5Z9onuTSkJkssAJHUav3FNkzzNX3pmnmzYR3o6yDKRMrr33qcqH6rr7V0AH8+fGzEN0NM7+TRs1MmWYQ== 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 PAXPR04MB8942.eurprd04.prod.outlook.com (2603:10a6:102:20d::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.28; Wed, 27 Sep 2023 15:48:58 +0000 Received: from AS8PR04MB8788.eurprd04.prod.outlook.com ([fe80::afae:3fda:c84d:bcdc]) by AS8PR04MB8788.eurprd04.prod.outlook.com ([fe80::afae:3fda:c84d:bcdc%7]) with mapi id 15.20.6838.016; Wed, 27 Sep 2023 15:48:58 +0000 Message-ID: <01bf39b2-f63d-307c-70e5-0ed48ec0bf48@suse.com> Date: Wed, 27 Sep 2023 17:48:56 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: [PATCH 03/11] x86: don't use 32-bit LEA as NOP surrogate in 64-bit code Content-Language: en-US To: Binutils Cc: "H.J. Lu" References: <7ce54bc2-fef2-d2e4-21fd-202fdead0c20@suse.com> In-Reply-To: <7ce54bc2-fef2-d2e4-21fd-202fdead0c20@suse.com> X-ClientProxiedBy: FR2P281CA0119.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:9d::15) To AS8PR04MB8788.eurprd04.prod.outlook.com (2603:10a6:20b:42f::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8788:EE_|PAXPR04MB8942:EE_ X-MS-Office365-Filtering-Correlation-Id: eefbd5d5-4442-40eb-5158-08dbbf7142f7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: IY1rOSOy7n6Kl1zOyQXySfjmkqMsLEaXWQjwtM6CCgaNmQc+0bkz6fGTZykMH0lpcHhuZ4TOFErXEaObOgTm1BDm2ZYosc0owm8AuIVUJ/DnwtUgsT8VcktnniNkVnsoKtc/moSZTVwdemyXJj7gsEcPjGy+2baJ2bYmUnEWEUo2Mftpph6uFeEpIQt7oy5/EU1tUcFQGWso3ulBFtETrYavOsTF9gJ2zcIsMVZG+wFSuRixKejMA25QEZ59QHdWcmxAPc22LkQXEbA4Q3endN/INRLuwlpJqJfsidyZm8vGUnPnkF5AAtvcQ4Nv/sgrz33T2cjeOdvDnl1GfHMaEORYKvc62lPWeJROlGvXU9dKqYirB6NfxJyfCZUQTdbU3dhvlA6L8HUe93GhqwKY6eQu4w9rmF93zOcf2ECzGbapsR03eBjkeVnR30zxYT0Dtrn+DnM7DjjydaB53NDvBexRmLjd3aE4D9q+eNpNsNwplPKhalJmjqUgkBqvXjN4LuHSWXwcR3ECwAhHRuPq3CaferE7k6hKDA7NrYy9HrET5YoNsS8pq6Cktm8/yJYG6/Ugw/hYSJ0nz7Q9W9VTyrAUQi15OPtx3DS9BCeP9+GYtWK3VvBwb+9N9J7Wccn52LeWJw69G2UqeQYhUJotgQ== 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:(13230031)(396003)(39860400002)(346002)(376002)(136003)(366004)(230922051799003)(1800799009)(186009)(451199024)(36756003)(38100700002)(86362001)(31696002)(31686004)(4326008)(2616005)(2906002)(6916009)(66476007)(478600001)(41300700001)(66556008)(66946007)(5660300002)(6486002)(316002)(6506007)(6512007)(8676002)(83380400001)(30864003)(26005)(8936002)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?gZj3IIF5EH20zFflsmgIJaSmDfQ6?= =?utf-8?q?KivTqmDKeqgZFnpApr7ePA+o00QQlGWlkHRW8ATiKTVL02XSBAiFso5cawfTECNna?= =?utf-8?q?tnVCrKZOjv8mLGMIyn8v05zhy8YHrfqtiJgLSZWEspOYpyf/zqiJPNSLn4u/pGCSH?= =?utf-8?q?zVlM+0X4aCw4zqXUKBC2TUTEtQS783uSKzrUlglJmF/102snr+Uv9WQTa6ZMc9X3j?= =?utf-8?q?gPzHWCjC5DD0VPRkDCMFOWSJ2N0UISsrlraubS2MY8D5tRQEQi0k1H18Y7+1JmUk6?= =?utf-8?q?EXS6glLAVsGnkvAkp2NzRZG+7HRT4eHhXtcMLqId48Op+ZbErScEStyHRTr01jrbb?= =?utf-8?q?kGrkUlNci2cIlGHDNEPriJlf6aKMSu1pR9WHkHZ5NOAKqblf8eK/Q70E6Cr5m2ZSH?= =?utf-8?q?p4lrMJVElntlQ2weYXkk9TlRSQ7bIj0MFC7DLBs0WISvMx+TzSQkwfmDu583hPhXH?= =?utf-8?q?mV9UPL7pvo3yp5jK6AoutlD297Wsd0NjsUx7O1ARm5I6XcjHpWYPvU1BUNG5GD3SV?= =?utf-8?q?Jyf58zfpmcJmyd0xjr1NrBOVz3Eiastm+QfmnQr7rhuyGFYBicITvHoG1x+k3wzy5?= =?utf-8?q?Hp/Rr/Ht2ZLcLdfysemQlTwJyhO1TPtt6jtlSYwfyML3tMJGzqsi2ZvFht0IelhdL?= =?utf-8?q?7W/HhuQUOWT6A4KKyCHKE3SmMopliblWUMpiaZF2vg01d2dHsqru6ZftJ2Q3OrGtt?= =?utf-8?q?avOJJf1AQFw/hLozXIlHmtrY9BZpVUz8I7T602qzoPteQxndgSS6hgkoBY9IZZ6HW?= =?utf-8?q?cs54njbxn5Bp8RJwE9MeJnWQ5daPkaDkxodnqPhpDEzU/wbNxLh2AK9Jf1PH/H0RU?= =?utf-8?q?/PIc6tbouE0JffDEV90FfRr4WmOuc+8PfdL+tFaaSZmGHCtP15zg4Wln1o7sVWEVV?= =?utf-8?q?aELrKS1B47Zl2n/IqaC82AD8F/GI0r5IIi5UQl4q8+vLq0B/KJcp7sC1+E8OFbUGC?= =?utf-8?q?qwTQqN3K44KRZvyVAoF7ShRjW0xRmge+mDnXf0Sdv3EqtyDIQnM31UK33xkflDGNZ?= =?utf-8?q?rZpv39USubu5ab9HsH64MZicP9Xd9nEwvekPtBouTJIXs/rvI3wHDV1vV+WHR6Pw9?= =?utf-8?q?SGUP3uihKSpOXn7JGf2KbBIFH/kbjP9z89zE1qB8zmOJ3rchrW4TqLq2sDAktTLMZ?= =?utf-8?q?IIhKrCoEzLwp6olzccrIIBPwBg4c0TS5mEu1vf1L3987aNE0lG6/9vKMalyIN3DiK?= =?utf-8?q?jq7l6TO+6yza/Jk8hxDtKEMfaIA5jvFC+vpsL8mPuSGsAtF3VF/nwoNHC0WIUCita?= =?utf-8?q?2jJSIWPaCVb78vMmhtcIS8907lhZuRudKkSlKm9y1Qjqlel3mbzRo5YPUCLZGh9MC?= =?utf-8?q?4Df1Zl+skbKhMerfvn8KpCe5JP+KMA+YocwN9RFqvFWAx9JpmkN1xgbqsinI2GhIB?= =?utf-8?q?BDNgJCeZV1U5TLf7TIz5hb4Hh9zZRSFgawXGdA/vlOD7QHQ1f0CLkikc5+bkfpVKU?= =?utf-8?q?yoFv4+uiR9FRZYPL/LwdvYeZuiermYt7pIr9qhxwCoyD/yJ7dqeBeWkVj5OF6sWcp?= =?utf-8?q?aeWgfM1tds0X?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: eefbd5d5-4442-40eb-5158-08dbbf7142f7 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8788.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Sep 2023 15:48:57.9634 (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: ODUbXfgSVX+tyhOs2JM7OCJGHFI+mBg2mPKZQ7Q8My6iLkhm2EPedKjHeAmxuTxBaDXHapfjeL5CN78oZftkIg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8942 X-Spam-Status: No, score=-3026.8 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.30 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: INBOX X-GMAIL-THRID: 1778206537274397325 X-GMAIL-MSGID: 1778206537274397325 Except for the shared 1- and 2-byte cases, the LEA uses corrupt %rsi (by zero-extending %esi to %rsi). Introduce separate 64-bit patterns which keep %rsi intact. --- What is odd that there even was a testcase covering this, just that its expectations were wrong. --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -1279,6 +1279,18 @@ static const unsigned char f32_6[] = {0x8d,0xb6,0x00,0x00,0x00,0x00}; /* leal 0L(%esi),%esi */ static const unsigned char f32_7[] = {0x8d,0xb4,0x26,0x00,0x00,0x00,0x00}; /* leal 0L(%esi,1),%esi */ +static const unsigned char f64_3[] = + {0x48,0x89,0xf6}; /* mov %rsi,%rsi */ +static const unsigned char f64_4[] = + {0x48,0x8d,0x76,0x00}; /* lea 0(%rsi),%rsi */ +#define f64_5 (f64_6 + 1) /* lea 0(%rsi,%riz),%rsi */ +static const unsigned char f64_6[] = + {0x2e,0x48,0x8d,0x74,0x26,0x00}; /* lea %cs:0(%rsi,%riz),%rsi */ +static const unsigned char f64_7[] = + {0x48,0x8d,0xb6,0x00,0x00,0x00,0x00}; /* lea 0L(%rsi),%rsi */ +#define f64_8 (f64_9 + 1) /* lea 0L(%rsi,%riz),%rsi */ +static const unsigned char f64_9[] = + {0x2e,0x48,0x8d,0xb4,0x26,0x00,0x00,0x00,0x00}; /* lea %cs:0L(%rsi,%riz),%rsi */ static const unsigned char f16_3[] = {0x8d,0x74,0x00}; /* lea 0(%si),%si */ static const unsigned char f16_4[] = @@ -1293,6 +1305,10 @@ static const unsigned char jump16_disp32 static const unsigned char *const f32_patt[] = { f32_1, f32_2, f32_3, f32_4, NULL, f32_6, f32_7 }; +/* 64-bit NOPs patterns. */ +static const unsigned char *const f64_patt[] = { + f32_1, f32_2, f64_3, f64_4, f64_5, f64_6, f64_7, f64_8, f64_9 +}; /* 16-bit NOPs patterns. */ static const unsigned char *const f16_patt[] = { f32_1, f32_2, f16_3, f16_4 @@ -1428,7 +1444,7 @@ i386_generate_nops (fragS *fragP, char * 2. For the rest, alt_patt will be used. When -mtune= isn't used, alt_patt will be used if - cpu_arch_isa_flags has CpuNop. Otherwise, f32_patt will + cpu_arch_isa_flags has CpuNop. Otherwise, f32_patt/f64_patt will be used. When -march= or .arch is used, we can't use anything beyond @@ -1443,6 +1459,7 @@ i386_generate_nops (fragS *fragP, char * } else { + patt = fragP->tc_frag_data.code == CODE_64BIT ? f64_patt : f32_patt; if (fragP->tc_frag_data.isa == PROCESSOR_UNKNOWN) { /* PROCESSOR_UNKNOWN means that all ISAs may be used. */ @@ -1453,8 +1470,6 @@ i386_generate_nops (fragS *fragP, char * optimize with nops. */ if (fragP->tc_frag_data.isa_flags.bitfield.cpunop) patt = alt_patt; - else - patt = f32_patt; break; case PROCESSOR_PENTIUM4: case PROCESSOR_NOCONA: @@ -1477,7 +1492,6 @@ i386_generate_nops (fragS *fragP, char * case PROCESSOR_PENTIUMPRO: case PROCESSOR_IAMCU: case PROCESSOR_GENERIC32: - patt = f32_patt; break; case PROCESSOR_NONE: abort (); @@ -1509,8 +1523,6 @@ i386_generate_nops (fragS *fragP, char * with nops. */ if (fragP->tc_frag_data.isa_flags.bitfield.cpunop) patt = alt_patt; - else - patt = f32_patt; break; case PROCESSOR_PENTIUMPRO: case PROCESSOR_PENTIUM4: @@ -1520,8 +1532,6 @@ i386_generate_nops (fragS *fragP, char * case PROCESSOR_COREI7: if (fragP->tc_frag_data.isa_flags.bitfield.cpunop) patt = alt_patt; - else - patt = f32_patt; break; case PROCESSOR_GENERIC64: patt = alt_patt; @@ -1531,9 +1541,10 @@ i386_generate_nops (fragS *fragP, char * } } - if (patt == f32_patt) + if (patt != alt_patt) { - max_single_nop_size = sizeof (f32_patt) / sizeof (f32_patt[0]); + max_single_nop_size = patt == f32_patt ? ARRAY_SIZE (f32_patt) + : ARRAY_SIZE (f64_patt); /* Limit number of NOPs to 2 for older processors. */ max_number_of_nops = 2; } --- a/gas/testsuite/gas/i386/ilp32/x86-64-nops-1-pentium.d +++ b/gas/testsuite/gas/i386/ilp32/x86-64-nops-1-pentium.d @@ -2,166 +2,4 @@ #as: -mtune=pentium #objdump: -drw #name: x86-64 (ILP32) -mtune=pentium nops 1 - -.*: +file format .* - -Disassembly of section .text: - -0+ : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 90 nop - -0+10 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi - -0+20 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%rsi\),%esi - -0+30 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 8d 74 26 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 90 nop - -0+40 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 8d 74 26 00 lea 0x0\(%rsi,%riz,1\),%esi - -0+50 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 8d 76 00 lea 0x0\(%rsi\),%esi - -0+60 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+70 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 90 nop - -0+80 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi - -0+90 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%rsi\),%esi - -0+a0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d 74 26 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 90 nop - -0+b0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d 74 26 00 lea 0x0\(%rsi,%riz,1\),%esi - -0+c0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d 76 00 lea 0x0\(%rsi\),%esi - -0+d0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax -#pass +#dump: ../x86-64-nops-1-pentium.d --- a/gas/testsuite/gas/i386/x86-64-nops-1-pentium.d +++ b/gas/testsuite/gas/i386/x86-64-nops-1-pentium.d @@ -9,31 +9,29 @@ Disassembly of section .text: 0+ : [ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 90 nop +[ ]*[a-f0-9]+: 2e 48 8d b4 26 00 00 00 00 cs lea (0x)?0\(%rsi,%riz,1\),%rsi +[ ]*[a-f0-9]+: 2e 48 8d 74 26 00 cs lea (0x)?0\(%rsi,%riz,1\),%rsi 0+10 : [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi +[ ]*[a-f0-9]+: 2e 48 8d b4 26 00 00 00 00 cs lea (0x)?0\(%rsi,%riz,1\),%rsi +[ ]*[a-f0-9]+: 48 8d 74 26 00 lea (0x)?0\(%rsi,%riz,1\),%rsi 0+20 : [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%rsi\),%esi +[ ]*[a-f0-9]+: 2e 48 8d b4 26 00 00 00 00 cs lea (0x)?0\(%rsi,%riz,1\),%rsi +[ ]*[a-f0-9]+: 48 8d 76 00 lea (0x)?0\(%rsi\),%rsi 0+30 : [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 8d 74 26 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 90 nop +[ ]*[a-f0-9]+: 2e 48 8d b4 26 00 00 00 00 cs lea (0x)?0\(%rsi,%riz,1\),%rsi +[ ]*[a-f0-9]+: 48 89 f6 mov %rsi,%rsi 0+40 : [ ]*[a-f0-9]+: 90 nop @@ -41,8 +39,8 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 8d 74 26 00 lea 0x0\(%rsi,%riz,1\),%esi +[ ]*[a-f0-9]+: 2e 48 8d b4 26 00 00 00 00 cs lea (0x)?0\(%rsi,%riz,1\),%rsi +[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax 0+50 : [ ]*[a-f0-9]+: 90 nop @@ -51,8 +49,8 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 8d 76 00 lea 0x0\(%rsi\),%esi +[ ]*[a-f0-9]+: 2e 48 8d b4 26 00 00 00 00 cs lea (0x)?0\(%rsi,%riz,1\),%rsi +[ ]*[a-f0-9]+: 90 nop 0+60 : [ ]*[a-f0-9]+: 90 nop @@ -62,8 +60,7 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax +[ ]*[a-f0-9]+: 2e 48 8d b4 26 00 00 00 00 cs lea (0x)?0\(%rsi,%riz,1\),%rsi 0+70 : [ ]*[a-f0-9]+: 90 nop @@ -74,8 +71,7 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 90 nop +[ ]*[a-f0-9]+: 48 8d b4 26 00 00 00 00 lea (0x)?0\(%rsi,%riz,1\),%rsi 0+80 : [ ]*[a-f0-9]+: 90 nop @@ -87,7 +83,7 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi +[ ]*[a-f0-9]+: 48 8d b6 00 00 00 00 lea (0x)?0\(%rsi\),%rsi 0+90 : [ ]*[a-f0-9]+: 90 nop @@ -100,7 +96,7 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%rsi\),%esi +[ ]*[a-f0-9]+: 2e 48 8d 74 26 00 cs lea (0x)?0\(%rsi,%riz,1\),%rsi 0+a0 : [ ]*[a-f0-9]+: 90 nop @@ -114,8 +110,7 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d 74 26 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 90 nop +[ ]*[a-f0-9]+: 48 8d 74 26 00 lea (0x)?0\(%rsi,%riz,1\),%rsi 0+b0 : [ ]*[a-f0-9]+: 90 nop @@ -130,7 +125,7 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d 74 26 00 lea 0x0\(%rsi,%riz,1\),%esi +[ ]*[a-f0-9]+: 48 8d 76 00 lea (0x)?0\(%rsi\),%rsi 0+c0 : [ ]*[a-f0-9]+: 90 nop @@ -146,7 +141,7 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d 76 00 lea 0x0\(%rsi\),%esi +[ ]*[a-f0-9]+: 48 89 f6 mov %rsi,%rsi 0+d0 : [ ]*[a-f0-9]+: 90 nop From patchwork Wed Sep 27 15:49:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 145431 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp2723207vqu; Wed, 27 Sep 2023 08:52:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGe7+P+sClhQHk+Y5/NtAaOKiLAju+SEGzGLcbCv+ahQTN104yWc9zH4b2Z8VeluLuSjByH X-Received: by 2002:aa7:db91:0:b0:52a:1c3c:2ecc with SMTP id u17-20020aa7db91000000b0052a1c3c2eccmr2299960edt.25.1695829946731; Wed, 27 Sep 2023 08:52:26 -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 r26-20020aa7da1a000000b0052a3d03c783si13764388eds.192.2023.09.27.08.52.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 08:52:26 -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=MwFWai6V; 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 8DC873861932 for ; Wed, 27 Sep 2023 15:49:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8DC873861932 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1695829784; bh=YyguB7J0ryVRE2gRXCs194zCCAM/fDdkH1opqUfkZsU=; h=Date:Subject:To:Cc:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=MwFWai6VYITPeF99Q4gX5eFuReEGjwCY8eI7nrH5zDhdZGEGzSSxUKvS9Q9JXOlIx DBngP7fQaRNILPNjcKH9N8gmMjbPIMtHXRY+Qy4po/kJ1YdmST54RnVU8gQJkIBx+K uzCldfCFIJMxi1Z/cOu579ahwJRfX66j3wQNp+1k= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on2074.outbound.protection.outlook.com [40.107.13.74]) by sourceware.org (Postfix) with ESMTPS id 93CE738618C5 for ; Wed, 27 Sep 2023 15:49:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 93CE738618C5 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lAU4ShRv3qzUjQIzCLIFlNL5Bgn2Oba/4sWKtA49MB5RGk/4pe9cfH84sWc17AYmb1rc0qnjPvKnAxK+PYFzz7AatNYTibTZ4jo3nU0GIkAH9v+jzg2rN3+8KON5V7vcXt2pv+ykA060/27GXBGLeJeVsG+xlF/rOS5avYVFqtQw7EcBSWFAq9yvaM6hlOQpNzYXeNb35sw3iAWJgF+53NIl7JS6m2HwrBLE84Pz7z8xESoOjJgEosjkZnsOW7yb8MF8rq3iTK4Ods/YKtc1a5dRXsM/QTZJ1xzLUD/NAJDRoEEAfWtPVkuMvryTZXJBEOjCOV6SWDcICZP9PFLliA== 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=YyguB7J0ryVRE2gRXCs194zCCAM/fDdkH1opqUfkZsU=; b=h1vsg8WVtKvCs/Zo2b6wGJPMhqRkVDLKdcpFLZMeVx+646Xx5DGWZ3Po4ZaqNSs6E621bij0FjTGM5X/og62x5EYiMscr8MHJ0tKsIOIW2Zq9kTgTMhiw6GdhR9ckYKo063HxK9+HX4TG9nAGMQXt9106Zi2rrxOESTtgQ4JqtHs+zyjaJSwcjVBWwGQl/s6SwsAV0BhaQaqlk4zuJd2KlNAcQl3ay/nZtaHsEuFOxOWxk5EAnRhHrAJ8m/uqqFWnQn7+pVAI/VhJtZM8pLxgqTnnx76dV8j6a2Xtd/trM+EYvFxCq2JL4txfD11YwNxiZp0UmcGz069lqz11gKW0Q== 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 PAXPR04MB8942.eurprd04.prod.outlook.com (2603:10a6:102:20d::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.28; Wed, 27 Sep 2023 15:49:32 +0000 Received: from AS8PR04MB8788.eurprd04.prod.outlook.com ([fe80::afae:3fda:c84d:bcdc]) by AS8PR04MB8788.eurprd04.prod.outlook.com ([fe80::afae:3fda:c84d:bcdc%7]) with mapi id 15.20.6838.016; Wed, 27 Sep 2023 15:49:32 +0000 Message-ID: <829df523-3632-abd6-daaa-d42eaa82fe37@suse.com> Date: Wed, 27 Sep 2023 17:49:31 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: [PATCH 04/11] x86: don't use operand size override with NOP in 16-bit code Content-Language: en-US To: Binutils Cc: "H.J. Lu" References: <7ce54bc2-fef2-d2e4-21fd-202fdead0c20@suse.com> In-Reply-To: <7ce54bc2-fef2-d2e4-21fd-202fdead0c20@suse.com> X-ClientProxiedBy: FR4P281CA0013.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:c8::6) To AS8PR04MB8788.eurprd04.prod.outlook.com (2603:10a6:20b:42f::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8788:EE_|PAXPR04MB8942:EE_ X-MS-Office365-Filtering-Correlation-Id: ab496f59-e2ca-4620-51c2-08dbbf715797 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: BAXyqy1RI6uin5Q1TreXEUQ6iF6bxlrOxBDG3mL+XzPJA/30aSm8hOMnhInegq/GnKM0rAYwxAvHZxxRBpSiVZAUHgoK0/tgVUzFFQmYpPy3wqiVBbNP2zOZMiZZK8UbCqz6szSZDzAcjsF2DMPklttCHjfntB+fLYmxOXZNR4aTyUc4hT1mP8ZvGMAZOmuPsASg2RARoYJAUC+c7U0/PeQ0G9RJWeMa8NA/RNOvsFk8R4u/GPG9PoB9ey31p37StHeGIxLCXq6n1pcY/p0nh9wjUv5uUSe2hQiJ/OoXiZRF/6ehju11rNTBOW3tk0ToXZzMGQyTxw5p/i7S/Vd7Qgsj5//HMCMli6z/rFEELgQ7dK8iNicEgysWd97MGrNVgKEKEWBrFQyB7lgmkvih7/e8DVveyaUBRE7ExDvbODTEYexKd6rwPEoQqiM/8d3Z7lx/82EBkIW4Tqv6JmeeD2iRR1StzCPJL+Evb7Mh/9Tg0RSLkDA0GymTAigC1TKreZPFb34zzMGe8J0YqbGGWUjYaeGmOEzmpyf7Zz6lvs6XYdprKZ9mfTWitu4lYN74PhT5btV2wMI9PqTdRXHCbGmI8nuWyHIA8r1ywCQOuBwx5DW+363UctbuVdvG4QdSOBvS1ZGGMIWhpBqufpnF3Q== 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:(13230031)(396003)(39860400002)(346002)(376002)(136003)(366004)(230922051799003)(1800799009)(186009)(451199024)(36756003)(38100700002)(86362001)(31696002)(31686004)(4326008)(2616005)(2906002)(6916009)(66476007)(478600001)(41300700001)(66556008)(66946007)(5660300002)(6486002)(316002)(6506007)(6512007)(8676002)(26005)(8936002)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?JeePZErMcO8SYmN+vGxnsHt9oGQR?= =?utf-8?q?0unmk5kNjEbt9poqKr/BY5YWNwaLJcXTFihohAqVHo4TZ0/rqZGi9kxusvMPAGNAu?= =?utf-8?q?3U//KMm2qHSUWnVSuRXrssx/ccH9FwzBpQYzZSDsgf+6eH4cpl7TXnBCW9rqJnt+X?= =?utf-8?q?yzeYd7mZfM99IGa4/2X4iDUWUI/E4KzcfNIb1nZ/DuBdEGOoFYSZ2YydGRgXg35kh?= =?utf-8?q?08iwAPfODzeeyE/iGa76YhvFAfNBJPtpSqK3iWgyt2ZvaF+iIbm5odaJYi+kjIUyD?= =?utf-8?q?37497FSuZbmVgleZTL+c2s2uCUtfSKNi4NAZMyeEfUQZiAHDo5XBT31kCKLEuRoYO?= =?utf-8?q?Au87LkP382DCDeHooriVJJqLR7IGkYSd6SVWMDiIjomk21AodhoYRlkeAXaQKyB1e?= =?utf-8?q?4CvsZ4NDziSrNqcNKfyb9RiWfVklyxttDWmSXiLg6jpNfLisJ/Am0lu+O+w5qB2sH?= =?utf-8?q?ZiLh1fOTnP3RrPqORS1/6sLL6FCeNLuAGvXralTe+4cJudifiligeff5MXECGLAeS?= =?utf-8?q?0c8TGPrPGvuhCZGAXY2CewrvJlIV1OprgbbV4aIBPvoDg7oHxLiAFOpoCuE5EaB2C?= =?utf-8?q?u8hHzdXjRtM6Or0E6GsnDcvGBzV5MxkWMNIXTVMRLlwSbh7zIrfmY8TLZq+0g8D/f?= =?utf-8?q?lx7qZSzakJ8W4gfSPBWJijkY5VWzR2iS2V0ziYSMNOB9NlZrhvmRiE1lGQUk/mHnU?= =?utf-8?q?U6VdWt66dNYaKVvXyUPicmOd/EyRnkMARIb+5S6Xbd4Jd4RsvumI5U2zppbhJ3SUP?= =?utf-8?q?iCMyLkgfNF1y2aLWvGQKKVnBZVp+DIV0A7jTnKokso5wsqSQHSIXS3tjU7YwOspXz?= =?utf-8?q?0jhxuvxGdWraV0eJ63Np7dYKNJGIMPkdezowqpegPrjrHyAxIyoQ0gRdalyGcx1Gw?= =?utf-8?q?TgSzpGmP03KTGwIXMP9WHUC5iB/X6AO1thUO1r7WyF23k07BBUjDNUPYRC7zTnIxG?= =?utf-8?q?WpzwtiEygWlnj2f3KQact+TEJV9kMgm38XDO+IqbqVgTdqgs5oAa2V8D86juBb6Vl?= =?utf-8?q?RKOrGN9bk3ld77gQ0C3Af6eDZ7LvMfWOmKB85pV+ZOUA07vsRLIGO6TaBCsoH2g/H?= =?utf-8?q?D0ancZV22mSv/u7//uEb+toS+fUPQX+ko4L4TXhQ6wtWfSdi3u3JwayCMXbHm7EKr?= =?utf-8?q?lcXy0XAfhYDYkv3jXhjeS9Ddb/Mhfh9iFpWoVIR0Kvy7WwoTkMR4y7iznIdyaI1jj?= =?utf-8?q?X5AnLoQt/ScA48qDp0BsAozNRYwDXA1N7wvE2hQ47Om674K88waoBgMMEOK2OoN2Y?= =?utf-8?q?bTmLi/0V48xfiX/idprlHIIHr3VQRrOVHmsTlRMrRK1+injEq0nIUjz5JBxiz6J6V?= =?utf-8?q?PAoXt3Nss7B1YVfCgZ1jjq2Zzp0uhR0iAB/ZBWEsQDYeU136fbdWcRGXS93pH93xS?= =?utf-8?q?seaSQa5iCeDkEeb6DNBduaYnp4az2KtQMJOJGTVTr1wkTOjCM0/LzE2y7RETA3REl?= =?utf-8?q?IwX+gJY6yVUUnWrrsTra44nUlf4/BMDao3rvoSviNV80K8CiPbUCpht3b/nHTFaa8?= =?utf-8?q?amkwNfL39WT5?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: ab496f59-e2ca-4620-51c2-08dbbf715797 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8788.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Sep 2023 15:49:32.6143 (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: 3WVVE3Xzzroqwhf53/Ko1k2n8Pcy0JftaGY3J591LnQTm/Jp1iyg5rOIoYMkpw6J9w6rsLWeSQRjDyUiinaXDA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8942 X-Spam-Status: No, score=-3026.8 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.30 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: INBOX X-GMAIL-THRID: 1778206582040520112 X-GMAIL-MSGID: 1778206582040520112 Since we don't key the NOP selection to user-controlled properties, we may not use i386 features; otherwise we would violate a possible .arch directive restricting ISA to pre-386. --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -1291,6 +1291,7 @@ static const unsigned char f64_7[] = #define f64_8 (f64_9 + 1) /* lea 0L(%rsi,%riz),%rsi */ static const unsigned char f64_9[] = {0x2e,0x48,0x8d,0xb4,0x26,0x00,0x00,0x00,0x00}; /* lea %cs:0L(%rsi,%riz),%rsi */ +#define f16_2 (f64_3 + 1) /* mov %si,%si */ static const unsigned char f16_3[] = {0x8d,0x74,0x00}; /* lea 0(%si),%si */ static const unsigned char f16_4[] = @@ -1311,7 +1312,7 @@ static const unsigned char *const f64_pa }; /* 16-bit NOPs patterns. */ static const unsigned char *const f16_patt[] = { - f32_1, f32_2, f16_3, f16_4 + f32_1, f16_2, f16_3, f16_4 }; /* nopl (%[re]ax) */ static const unsigned char alt_3[] = --- a/gas/testsuite/gas/i386/nop-2.d +++ b/gas/testsuite/gas/i386/nop-2.d @@ -26,7 +26,7 @@ Disassembly of section .text: +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 66 90 xchg %eax,%eax + +[a-f0-9]+: 89 f6 mov %si,%si 0+26 : +[a-f0-9]+: eb 1c jmp 44 --- a/gas/testsuite/gas/i386/nops16-1.d +++ b/gas/testsuite/gas/i386/nops16-1.d @@ -55,7 +55,7 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si [ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si [ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 66 90 xchg %eax,%eax +[ ]*[a-f0-9]+: 89 f6 mov %si,%si 0+80 : [ ]*[a-f0-9]+: 90 nop @@ -118,7 +118,7 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si [ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si [ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 66 90 xchg %eax,%eax +[ ]*[a-f0-9]+: 89 f6 mov %si,%si 0+100 : [ ]*[a-f0-9]+: 90 nop @@ -193,7 +193,7 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si [ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si [ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 66 90 xchg %eax,%eax +[ ]*[a-f0-9]+: 89 f6 mov %si,%si 0+180 : [ ]*[a-f0-9]+: 90 nop @@ -280,7 +280,7 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si [ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si [ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 66 90 xchg %eax,%eax +[ ]*[a-f0-9]+: 89 f6 mov %si,%si 0+200 : [ ]*[a-f0-9]+: 90 nop @@ -315,7 +315,7 @@ Disassembly of section .text: [ ]*[a-f0-9]+: eb 0a jmp 240 [ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si [ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 66 90 xchg %eax,%eax +[ ]*[a-f0-9]+: 89 f6 mov %si,%si 0+240 : [ ]*[a-f0-9]+: 90 nop @@ -336,7 +336,7 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si [ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 66 90 xchg %eax,%eax +[ ]*[a-f0-9]+: 89 f6 mov %si,%si 0+260 : [ ]*[a-f0-9]+: 90 nop @@ -387,7 +387,7 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 66 90 xchg %eax,%eax +[ ]*[a-f0-9]+: 89 f6 mov %si,%si 0+2a0 : [ ]*[a-f0-9]+: 90 nop @@ -450,5 +450,5 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 90 xchg %eax,%eax +[ ]*[a-f0-9]+: 89 f6 mov %si,%si #pass --- a/gas/testsuite/gas/i386/x86-64-nop-2.d +++ b/gas/testsuite/gas/i386/x86-64-nop-2.d @@ -27,7 +27,7 @@ Disassembly of section .text: +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 66 90 xchg %eax,%eax + +[a-f0-9]+: 89 f6 mov %si,%si 0+26 : +[a-f0-9]+: eb 1c jmp 44 From patchwork Wed Sep 27 15:50:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 145433 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp2723705vqu; Wed, 27 Sep 2023 08:53:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH+QrnQrbvmztSV4QphpmK5M6ZHdLz048dvo95w/8nyuSImToWb1ii3mKegwx5GzL4M6a9z X-Received: by 2002:a17:906:12:b0:9a5:9f8d:770 with SMTP id 18-20020a170906001200b009a59f8d0770mr1904983eja.46.1695830000451; Wed, 27 Sep 2023 08:53:20 -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 o26-20020a1709061b1a00b0099c49a11e7asi12286487ejg.976.2023.09.27.08.53.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 08:53:20 -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=OdmR0hvO; 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 0819E387542D for ; Wed, 27 Sep 2023 15:50:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0819E387542D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1695829832; bh=0VHqMNiTkwtpkEH9AINo74BfrHU2EFPSy3zGnuDI/cc=; h=Date:Subject:To:Cc:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=OdmR0hvORN5XYNWtL6Cq/vRE3aHWh4rP9ylBpSPAJaf0yhMG541c4xeOPpDvto8fC BuR1+qHxTS+8b7agvt9XzRi7IRs9A1WUtztz6HnnPdF3d7ugVRECB1nr1m0Ysby79W zSFYZZXr+jbpBDAQKTwpOagfamW6idWGkATBiEH4= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on2078.outbound.protection.outlook.com [40.107.13.78]) by sourceware.org (Postfix) with ESMTPS id 06D0D3831E11 for ; Wed, 27 Sep 2023 15:50:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 06D0D3831E11 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A4033wpbR4CYEH3wtB3yNPsDvXZXc9rDHug0H45ezH3tpzaL4yAAmsNByy3JBYaqHuy/aXBwKIvZDSwFshiceO/2NSwO/SOUmIq2wmf0DG0Dn9lubEsi6Bl9Jfgptx0+1wlcLO+kgeGzvHH+ECyRXIQ9JQu2Hn4DwvQqg7LFHZLvjORxrS/uqZfj4ddmhT6MqWabDfFVciJaffO84Fvpe4oAcpIGACZfgNxfpqsTspzW9yNstvhWyB4kRZd+pIBTEa6XKEzLug9hUo5kviNTK1AMNS7sarsOGFbwxHTimHluM3+GQszFYJIe2WE6Yu83EBcfvh/HOIxe2Mt4DplzHg== 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=0VHqMNiTkwtpkEH9AINo74BfrHU2EFPSy3zGnuDI/cc=; b=YIAoZk7wLKT1I0K0SAwZSBe8+0KCOYuvp62ajXJNJlKQTcAzhN+lsn1gFSVI5hflPN+5tE0KQns26+WT8xfgWbpKNCgUb544KRpKMm9iY3kpKR+Y0LKR9FnhNsIWNvvhYJOywlGiMUFjClj6ewbzykg75zMBPV0keXq6Ytf8CrDHa0UJJCI8Wms5EpEe9S8wHYcTtBzMd+7MsbF0JgFVY6Ly1Xzne6PpTg3AAk8TX+NnSzo1K90a2quY6puvZ15jheKH+5rztjtgT1ScCUZUy9q+vsISxRXPnw3pNFK0wneZX0ArMme3F2Os3hX6oMziNk5vXiV0PbeHcbyNEMFaeg== 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 PAXPR04MB8942.eurprd04.prod.outlook.com (2603:10a6:102:20d::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.28; Wed, 27 Sep 2023 15:50:18 +0000 Received: from AS8PR04MB8788.eurprd04.prod.outlook.com ([fe80::afae:3fda:c84d:bcdc]) by AS8PR04MB8788.eurprd04.prod.outlook.com ([fe80::afae:3fda:c84d:bcdc%7]) with mapi id 15.20.6838.016; Wed, 27 Sep 2023 15:50:18 +0000 Message-ID: Date: Wed, 27 Sep 2023 17:50:17 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: [PATCH 05/11] x86: respect ".arch nonop" when selecting which NOPs to emit Content-Language: en-US To: Binutils Cc: "H.J. Lu" References: <7ce54bc2-fef2-d2e4-21fd-202fdead0c20@suse.com> In-Reply-To: <7ce54bc2-fef2-d2e4-21fd-202fdead0c20@suse.com> X-ClientProxiedBy: FR2P281CA0124.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:9d::18) To AS8PR04MB8788.eurprd04.prod.outlook.com (2603:10a6:20b:42f::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8788:EE_|PAXPR04MB8942:EE_ X-MS-Office365-Filtering-Correlation-Id: 9284b570-29e5-4e4e-10e3-08dbbf717320 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: svMIj7J0oAIJzNJ7t3E4S3wc4f0zE8yXBcwjCwvH7kfn6r1Yv0C/a7GV2AnuYnnsFSgMkkTny9QQCFn1apNxaHUtQeBKmyE3jr9qJqY4EsUmA29JKlQVUxFaPFg3r/bC9IT+VskVi3j76AFi0Hq1TX2CGbSr+Bcv0N/4mWXiApU2fzmA+hZdVHkxg32HVPxsL/e0mahhsjKALiUH1LLtq7SHkch5tUDCuZl2zIoOhnHiTYYYA3gW6TTu+XDaVnMhnZMpf/wxzdM9SgMugNzCYBNjiDzZSWJ1a4UmGLTwmmpHtCdYYArs4l2cxGw1qIq6dgZ3nIJzvaTTZHXwN8Pxzyi82JYczeY2yeBbcXmuIiU6GO24fjfqTuoBYSDLzyHzulMBsdv0wTnYrkvz2+V1/G7eSUNgWDVfffZM3WuHUBW3EkUoewDeFxDdGP8pyGN1AltVrT3rkb3CFeKOBR42rWpTwU8rqDCZkBHGTDkXN4YiKP36pQwIaBORhgYAk4fQy4jLpQqD6eNOjMUvvC8UBvo5qUL1Y997B9akA6u7rD9+VGhoYRr8u5i1zFW0/LAAlxPde9dQokk+rsO4tIwdFWWG/AWNFeTz8tkvR0WadHfcE7v+ne1zzRLtSlXu/spOhmn0uNDKuueh62g89LmKRQ== 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:(13230031)(396003)(39860400002)(346002)(376002)(136003)(366004)(230922051799003)(1800799009)(186009)(451199024)(36756003)(38100700002)(86362001)(31696002)(31686004)(4326008)(2616005)(2906002)(6916009)(66476007)(478600001)(41300700001)(66556008)(66946007)(5660300002)(6486002)(316002)(6506007)(6512007)(8676002)(83380400001)(26005)(8936002)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?8glbVm6XI8icaF6Hlff8kwCdcQiu?= =?utf-8?q?9xzvFwAwICVnQFT0N92p5lQrxGKVuBDymSk4j+lzBxy23QKfRpucoq/k+YrR2nEyk?= =?utf-8?q?ttaahJIk1zfLmoRlLD0CHCWxv2QpL/kcdzZnCdeqwxwKjqYIQN6btZh/HocO5LsRy?= =?utf-8?q?VBm1BQYHMb5T7zK3hz9n3ZfFVkFb7M9NZGO06RfA7DymRdsct1hpQdpYK1nk6Qt/9?= =?utf-8?q?GNZOn4EWyB+VvsOHZjUN7drpdz0w9/1kB3hNYeT+K4991cBN2FqCKmm2BqEQPg8JO?= =?utf-8?q?iqJffq4vP2AD2t0qNzv0vwn1kLpmlL2whJ+4fsuF9yaOAl812f3TrTvbjOGENOnAH?= =?utf-8?q?2f5M9fdjrJVvTojcCqULl9F+cfEwXv2hk4hLjQgGxH2HcsjC60uXbPcixD4Dqyd+T?= =?utf-8?q?SyE2paGKMp8wjCxmmy5iDMzUIUo4ZcucxVI/DgKCcfjO704gT2tUDTAqnt7mkiML/?= =?utf-8?q?MOaH53zGWFE5RwKeUdwd0O1US3L0L1tHCY/b33345sBHohEsdQe5wzUgcGRUShSlQ?= =?utf-8?q?mjdVrtog+nIjcqz6YcCaQUxZcvfkXA64KAL3/71QfbffMP9YEVM9jjkaP4Bi/GOtr?= =?utf-8?q?lEXG9uNNfAUSjubgVfyn0EYNnxLH1z9qyCuCSodjygEKqLdRTNAiZRuDIz+Pp6DW8?= =?utf-8?q?7+RcROzBsErHOyNk6HxZIvr9McBLRIJKqOdicIG31pWP9TsymsQ3nH8Sf5gURL0Zy?= =?utf-8?q?B4Zk4KmISRmqsc6qEIuy+0dWYdzlQG2pWck2lpWYLXx/GZ1cDrDxnmh/0spxMlFg9?= =?utf-8?q?uihFJnIU7fhMJfMqU/aL6TWpE0zmAmE3r67yfcHleWysqkb1fveId5I22ZI/HphbB?= =?utf-8?q?ppHNr8/W2pLNb8A6lraDw6o5ZHXZN9wlI8JZZ3O/VgiHPMcaAcUA/d72mecKeLUZH?= =?utf-8?q?I7bDTd5IwwhqGn50kF3Q71G0/omre8AyZ3zfV7VxR5ncQSXy2fZUOAU14mdmNXbtJ?= =?utf-8?q?dxReOrEOag2HOo20X7JYMCdS+1+6ultKL4QAuGlVGV0gIyuccHzMIOKGkopfs7xqd?= =?utf-8?q?LFtMayfXybFU08+q16vEa5P04EvpAx18FLUIeNuW5wREk6aQI6LJShJMmVZH1GTFl?= =?utf-8?q?Mxp19NhB9ZsHAzazUCIQkiBylm5pkxLyLJ+DtAcSTc7kA+iRaKYkRB4hpSvrectcD?= =?utf-8?q?acfxyMekXS1oTK2fGIKvkX11Q4KnGJgVk5LtgoYiQYeL+EOMeHhQgkUruRyccxv3q?= =?utf-8?q?KCI3O3hDrM+I6DR2xmfaZr1NmcyQ4xL3gRMEYZsV9u90LUU9PPq1sW7GZ+mTrW78x?= =?utf-8?q?cKrfWyS5mciC0gvl5HNiPelDPYza6Zgborx6tCTEInh+lY1bwWtTwm4+7pMkBTOqL?= =?utf-8?q?UgeQq1d/e3v3n+lLbG+9JAJal7E2Tt+QjC+8QmrzkSMHMt6cZvQtznC7yejZvTjPw?= =?utf-8?q?l1OHpDHf68le6sHq/fTjstHQeJRfKJYsvDjE3MKB8AWlV8F7viB90WgQu/nlevLqC?= =?utf-8?q?Uj1+rwNG8Bys8Uf5pIMICfcLyAk+FAsY6VXK0WJchtlewiSIQnvQQh5zfOk6NPKAt?= =?utf-8?q?CVaTGxtMd7VU?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9284b570-29e5-4e4e-10e3-08dbbf717320 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8788.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Sep 2023 15:50:18.7643 (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: lEwHrnkUpj7j8lyIriYggp5DF4lpInxdsZiyI5OwFHiyYkpJqwLGyjnFzj59horrS+ygp3rktoPTRg7PtM0f0w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8942 X-Spam-Status: No, score=-3026.8 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.30 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: INBOX X-GMAIL-THRID: 1778206638664773698 X-GMAIL-MSGID: 1778206638664773698 Making GENERIC64 a special case was never correct; prior to the generalization of ".arch .no*" to cover all ISA extensions other processor families supporting long NOPs should have been covered as well. When introducing ".arch .nonops" (among others) it wasn't apparent that a hidden implication of .cpunop not being possible to separately turn off existed here. Seeing that the two large case label blocks in the 2nd switch() already had identical behavior, simply collapse all of the (useful) case labels into a single "default" one. --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -802,7 +802,7 @@ static const char *cpu_arch_name = NULL; static char *cpu_sub_arch_name = NULL; /* CPU feature flags. */ -static i386_cpu_flags cpu_arch_flags = CPU_UNKNOWN_FLAGS; +i386_cpu_flags cpu_arch_flags = CPU_UNKNOWN_FLAGS; /* If we have selected a cpu we are generating instructions for. */ static int cpu_arch_tune_set = 0; @@ -1463,7 +1463,8 @@ i386_generate_nops (fragS *fragP, char * patt = fragP->tc_frag_data.code == CODE_64BIT ? f64_patt : f32_patt; if (fragP->tc_frag_data.isa == PROCESSOR_UNKNOWN) { - /* PROCESSOR_UNKNOWN means that all ISAs may be used. */ + /* PROCESSOR_UNKNOWN means that all ISAs may be used, unless + explicitly disabled. */ switch (fragP->tc_frag_data.tune) { case PROCESSOR_UNKNOWN: @@ -1485,8 +1486,10 @@ i386_generate_nops (fragS *fragP, char * case PROCESSOR_BD: case PROCESSOR_ZNVER: case PROCESSOR_BT: - patt = alt_patt; + if (fragP->tc_frag_data.cpunop) + patt = alt_patt; break; + case PROCESSOR_I386: case PROCESSOR_I486: case PROCESSOR_PENTIUM: @@ -1508,35 +1511,13 @@ i386_generate_nops (fragS *fragP, char * abort (); break; - case PROCESSOR_I386: - case PROCESSOR_I486: - case PROCESSOR_PENTIUM: - case PROCESSOR_IAMCU: - case PROCESSOR_K6: - case PROCESSOR_ATHLON: - case PROCESSOR_K8: - case PROCESSOR_AMDFAM10: - case PROCESSOR_BD: - case PROCESSOR_ZNVER: - case PROCESSOR_BT: - case PROCESSOR_GENERIC32: + default: /* We use cpu_arch_isa_flags to check if we CAN optimize with nops. */ if (fragP->tc_frag_data.isa_flags.bitfield.cpunop) patt = alt_patt; break; - case PROCESSOR_PENTIUMPRO: - case PROCESSOR_PENTIUM4: - case PROCESSOR_NOCONA: - case PROCESSOR_CORE: - case PROCESSOR_CORE2: - case PROCESSOR_COREI7: - if (fragP->tc_frag_data.isa_flags.bitfield.cpunop) - patt = alt_patt; - break; - case PROCESSOR_GENERIC64: - patt = alt_patt; - break; + case PROCESSOR_NONE: abort (); } --- a/gas/config/tc-i386.h +++ b/gas/config/tc-i386.h @@ -260,6 +260,7 @@ enum processor_type PROCESSOR_NONE }; +extern i386_cpu_flags cpu_arch_flags; extern enum processor_type cpu_arch_tune; extern enum processor_type cpu_arch_isa; extern i386_cpu_flags cpu_arch_isa_flags; @@ -295,6 +296,7 @@ struct i386_tc_frag_data unsigned int mf_type : 3; unsigned int classified : 1; unsigned int branch_type : 3; + unsigned int cpunop : 1; }; /* We need to emit the right NOP pattern in .align frags. This is @@ -310,6 +312,7 @@ struct i386_tc_frag_data (FRAGP)->tc_frag_data.isa = cpu_arch_isa; \ (FRAGP)->tc_frag_data.isa_flags = cpu_arch_isa_flags; \ (FRAGP)->tc_frag_data.tune = cpu_arch_tune; \ + (FRAGP)->tc_frag_data.cpunop = cpu_arch_flags.bitfield.cpunop; \ (FRAGP)->tc_frag_data.code = i386_flag_code; \ (FRAGP)->tc_frag_data.max_bytes = (MAX_BYTES); \ (FRAGP)->tc_frag_data.length = 0; \ --- a/gas/testsuite/gas/i386/x86-64.exp +++ b/gas/testsuite/gas/i386/x86-64.exp @@ -109,6 +109,8 @@ run_dump_test "x86-64-nops-1-g64" run_dump_test "x86-64-nops-1-k8" run_dump_test "x86-64-nops-1-core2" run_dump_test "x86-64-nops-1-pentium" +run_dump_test "x86-64-nops-1a-g64" +run_dump_test "x86-64-nops-1a-core2" run_dump_test "x86-64-nops-2" run_dump_test "x86-64-nops-3" run_dump_test "x86-64-nops-4" --- /dev/null +++ b/gas/testsuite/gas/i386/x86-64-nops-1a-core2.d @@ -0,0 +1,5 @@ +#as: -march=core2+nonop +#source: nops-1.s +#objdump: -drw +#name: x86-64 -march=core2+nonop nops 1 +#dump: x86-64-nops-1-pentium.d --- /dev/null +++ b/gas/testsuite/gas/i386/x86-64-nops-1a-g64.d @@ -0,0 +1,5 @@ +#as: -march=generic64+nonop +#source: nops-1.s +#objdump: -drw +#name: x86-64 -march=generic64+nonop nops 1 +#dump: x86-64-nops-1-pentium.d From patchwork Wed Sep 27 15:50:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 145437 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp2724430vqu; Wed, 27 Sep 2023 08:54:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHxQSBM3COAxBQch3Uq0Q4Cc0zn1L4JayuOB6d007f3L3C6H7cB6QYLJkJXQLlfkqM11f8V X-Received: by 2002:a19:c511:0:b0:503:654:cf27 with SMTP id w17-20020a19c511000000b005030654cf27mr1864985lfe.28.1695830071505; Wed, 27 Sep 2023 08:54:31 -0700 (PDT) Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id r22-20020aa7c156000000b00523228f6149si8692219edp.100.2023.09.27.08.54.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 08:54:31 -0700 (PDT) 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=d3UPuM4b; 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 5C10138845A0 for ; Wed, 27 Sep 2023 15:51:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5C10138845A0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1695829897; bh=rSZGLxusZw0m4PXR5mJRXw/xTy3JjpeB7JaUwkyil0w=; h=Date:Subject:To:Cc:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=d3UPuM4bdBnfPvzi+ZxCh9okIhPqXjVNHY2GiHI5+7GlGgYBuc8UCZxCmbvCIs12a HK9EP97CEfWxjo77ndeu0Mc7K8h+4Pom0rETZqXoH5rdJ7WbfGdEPxuzO6YUAxBk6h 4IXIVVIAnJFxiIHrWgjeN/DOVDUfPkKJ7O4f3ZiE= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2051.outbound.protection.outlook.com [40.107.22.51]) by sourceware.org (Postfix) with ESMTPS id F2B16388265A for ; Wed, 27 Sep 2023 15:50:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F2B16388265A ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UAjh0fIQqWSDzr3JQeqlO7poUTf2y+PZN+fbNy117Wnt49PxNXBi/FHkLC8J7e1fy3CZyl/O1TgF7MoxRs59dvNbeuGNKmsEUOgeaMfPQJkXfGeNHtbRcJsEnJ1vDEf1TL09dTkEfB1RZlE0YWKtCEr4Ut/lM6o//npeQBwxA+Z9CjWS1Mtj1CrURs8cGmYl13uzQ9UeaYSTScZnTMmQdiJnDG6i4F26J81USvxPkcMT4GGGK87LJbJqeCUsVOsP0PuaNr7xGMiyFLzfgFpdeqVanmMMQL0mNdr5qoElAhyqh6cAW/WF13Cvk/Cw39VJ/yqZLxEF79SzumBhRc20BA== 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=rSZGLxusZw0m4PXR5mJRXw/xTy3JjpeB7JaUwkyil0w=; b=JOddlKiLmwMC4LkjQ95nYQJ63ofhFaDVMvDigVbGlX9hKcgtU9+sqHl9USGi7jAlQRA+IcYGPVrSsNAYgj246aMgna2P7eBVLmeHEi91kC2KU5iksmpaTn3FNR9waig4gXJYvYZrbM7Mp070g6+pMGNp2ryA1RWvYYHu39uUv6+zoWIDtpTyW+ajpjK83lUkuPguYG8jpoNXrD0XACnfLBlOqpoAdlwcEDlW12pQIvaZYcKawLScqr+lMfYcs4/WiZSNLusTmsr0RTTP3RvntIVpswwmqimGkZ81JJjvC7lJfRK0EKp+yfAQwzuAdfVSW5g0w4LVH6q3uSVZz443RQ== 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 PAXPR04MB9138.eurprd04.prod.outlook.com (2603:10a6:102:22d::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.28; Wed, 27 Sep 2023 15:50:42 +0000 Received: from AS8PR04MB8788.eurprd04.prod.outlook.com ([fe80::afae:3fda:c84d:bcdc]) by AS8PR04MB8788.eurprd04.prod.outlook.com ([fe80::afae:3fda:c84d:bcdc%7]) with mapi id 15.20.6838.016; Wed, 27 Sep 2023 15:50:42 +0000 Message-ID: <02623925-0b8f-4699-34d1-0ecc03dd2d9c@suse.com> Date: Wed, 27 Sep 2023 17:50:40 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: [PATCH 06/11] x86: i686 != PentiumPro Content-Language: en-US To: Binutils Cc: "H.J. Lu" References: <7ce54bc2-fef2-d2e4-21fd-202fdead0c20@suse.com> In-Reply-To: <7ce54bc2-fef2-d2e4-21fd-202fdead0c20@suse.com> X-ClientProxiedBy: FR2P281CA0048.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:92::19) To AS8PR04MB8788.eurprd04.prod.outlook.com (2603:10a6:20b:42f::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8788:EE_|PAXPR04MB9138:EE_ X-MS-Office365-Filtering-Correlation-Id: c6066ff8-c2a8-4ae3-de96-08dbbf71816f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: c6V42AZtRYEjG3yXgSX7cNcMKNWX39vBIfjAw2cFfxQdtuKOgPjZ/OhpvvVY3a52BoeLXWl+npD5/qzzLMNtF2+GHQLKyDSP798KeXHDhenI7UgrXpNSYHuymA8aF9o+LTY6d21NiVBs/Tz/P6yBQQZ9wDyr3ELIfZ7yYn3hUg1rZ+KhUwXt1ZCs7IDQB+JM/iTAQt87h/uKcu9YGAVZA0VKwdSQg3USIK/QIQKXUcDDifZND6AAIxzXof9m3iNv1J960+m+yJzJh5Pr4GqttEoSM2kKfEPVXAvVu6MOCEXGrgeWoaoV75Lu1QoHs9ZEb3mljLUYw6cN6BCBy/hqFR0OPFdKFsEPJEfNrm5PwSJjdNkHv27osNA5i4/WDNIzm3uO1JIxPBExdkDga9Qvy6cTK9/4EKqdrnHpgjCMUKLod0Ncm3NQIenT+H+5EToC3N9FZdqW5dXlym6UCkTKe+lZtd4Ko1HxFz4VEA8sZUQMQ41/5mBVU+jTNo58nI0fqKvUk9HNFD9/270di4i7bB2TmpIoySRcsNDNxGCfRP/K6kYI8MnmbbndPb+IsVwsdtmBerGan6z2v+CS7XVu+Bytb60bwVwW3yHWPgHvuijNpRfaH1OmN3PbVtRrp4nlrra5uLGW5OIVtAgoD1cHrg== 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:(13230031)(136003)(396003)(346002)(366004)(376002)(39860400002)(230922051799003)(1800799009)(451199024)(186009)(6512007)(6506007)(2616005)(8936002)(26005)(2906002)(478600001)(4326008)(66556008)(66476007)(6916009)(66946007)(316002)(5660300002)(41300700001)(8676002)(36756003)(31696002)(6486002)(38100700002)(86362001)(31686004)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?cGvsJnMrhJIptMuWHno5oDf5LgBQ?= =?utf-8?q?C3/znZ/O79hkVZxmD2w9L5aOiRB0GN2A3iwM2fxF6ObfYLZ8nJOQAUHoYFKYeGS9v?= =?utf-8?q?LGDKNK+SpSkyb0VRahJTTsIZ8EU8cA4lNIaUK1zPG+iUTKtcNST8AOgx4W18ocZEm?= =?utf-8?q?huM5oXralY2/gNo1Qqpj6tnPwJjAvRROQW6uwCQ3oe2y42O4Ks03OmoYfHIzzscAD?= =?utf-8?q?07nwPsBV8I5fPjdOfnPKLwHw+zK6157Pd5be8qWRydrx3rSHNC4bqxRHSIFvgulb4?= =?utf-8?q?GH4tzD7q1ih7MOwjMaOto+8+bGOxVeAmoYtvUkhpn822BygyHydu3mLQ5b1GoNXv8?= =?utf-8?q?Dha75OrSKu4l5DFdlMsGHxusOizGn7Zx7b59HwYNVFc6te5n4jsnKRvpeVZZVHnk6?= =?utf-8?q?UGDTVxQDPUVUcuDivTQPgZMDTVLz/N/K8yVK2N5dNm49tuO6XzzP3Ma8TBqd4KBCl?= =?utf-8?q?NghslHNhw2H6G9TKnSM93KzECvsv5uha7Oxxwt3fGdtpo8ij1fNWJUanZ/mS2EVkv?= =?utf-8?q?l44sqYgcRJ41uMHQxrUEbQQW/kRgp9fYwsmoPwno8s9XrmUtQZo/kIGYTmUQ0Vae2?= =?utf-8?q?v1e+CWQszW/WTF7rzQ/HmhUJ6cfTUL7y0oGEp9He7y7LgFAPNkhr55Lv4W4XbxQt2?= =?utf-8?q?QVo1k7+PUQP9Dp9sPaREng2qFOaK27VbJobeOv6BzPTgEn5xR9h2NfGco+053Hyei?= =?utf-8?q?Z0ScBJFoxMbc739GJ0Qzajn6+BREmSZtT9l0nT8PE7ESw9uu5iwGsFjsKwIoHooU4?= =?utf-8?q?/4xffGPZTNSJAr9+xEWIYIHtTHnS657SWcaJfPfFScKFydkWPoUxewYaPgTtzltZf?= =?utf-8?q?fWfaUw9GpS6/OITShYx2i2rfqYfL/QQXPUYS0rjoc05vJCmo9mfmu4B27Xxf9B0tx?= =?utf-8?q?qeJRbqcjm/E6s/0A8qlRS+NFzj196OG4df172x1FuZ0ABhW4sv+PSYzdHB71Ds54k?= =?utf-8?q?Xuy0dTSt0duG1njD2L33wIZnizLaVr9WS7hoILCsgwb+JlioQ1dV7m7HHD/m76fSa?= =?utf-8?q?AJjv/99HIBG8nV090A+Z32fJmCM34qSqoVB+gAGQckMloGyZ7Ne7NROhLm808SRdX?= =?utf-8?q?4Mt6PEnF4mJFZj1JoYaEEpgokvCPEulAnVkb/zT86sRCbajfqx75Sj3TuHvIFcYfk?= =?utf-8?q?j+WF/QWnovrRK38XhYAcDExCYlma4X5LGlwt0Jroy79mn/l1GCBb9gdr1chuJH7zV?= =?utf-8?q?RQbOiRMTnlbQOI7zYkSTWp+Hw4j4gERlCoxVZjzr97Go/zHFZznRQ4I/kg30JmXqT?= =?utf-8?q?A9xfjPCG6kuWEy6VPx2nuPgYjVDYCllLq8Jkixo9FJnpm1ZeI6wO71fTos0S03Toh?= =?utf-8?q?V2BcAJ+vxxjimf53gPIZH7oEQnls3vqYGVw6hMAZH57REQLM8ovjPfdzhT421WMdb?= =?utf-8?q?kWAVq0J0CMCTgMmkFAyQNwPc+8xEptQZalw3wI7A7I6vH6tf7JBMeei5sXaCxYvnB?= =?utf-8?q?HVy84zIxhEsrstALZGaz7gViXEEu1cJ1/vn/UljS0xsxmpBjAIJu4cXTMPaZn5fhH?= =?utf-8?q?D7csl1E69Oyv?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: c6066ff8-c2a8-4ae3-de96-08dbbf71816f X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8788.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Sep 2023 15:50:42.7853 (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: m1BkkqUeXNtftXu4xTNMKRFHZkItoX7VFC+1LjaIogKrpYVmvackGFZLWrHR4oxRM/lFjk4YIomjT/gZYVtNTQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9138 X-Spam-Status: No, score=-3026.8 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.30 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: INBOX X-GMAIL-THRID: 1778206713161821830 X-GMAIL-MSGID: 1778206713161821830 The two are distinct in opcodes/, distinguished precisely by CpuNOP that's relevant in i386_generate_nops(), yet the function has the PPro case label in the other group. Simply removing it revealed that cpu_arch[] had a wrong entry for i686. While there also add PROCESSOR_IAMCU to the respective comment. --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -987,8 +987,8 @@ static const arch_entry cpu_arch[] = ARCH (i386, I386, 386, false), ARCH (i486, I486, 486, false), ARCH (i586, PENTIUM, 586, false), - ARCH (i686, PENTIUMPRO, 686, false), ARCH (pentium, PENTIUM, 586, false), + ARCH (i686, I686, 686, false), ARCH (pentiumpro, PENTIUMPRO, PENTIUMPRO, false), ARCH (pentiumii, PENTIUMPRO, P2, false), ARCH (pentiumiii, PENTIUMPRO, P3, false), @@ -1440,7 +1440,7 @@ i386_generate_nops (fragS *fragP, char * /* We need to decide which NOP sequence to use for 32bit and 64bit. When -mtune= is used: - 1. For PROCESSOR_I386, PROCESSOR_I486, PROCESSOR_PENTIUM and + 1. For PROCESSOR_I?86, PROCESSOR_PENTIUM, PROCESSOR_IAMCU, and PROCESSOR_GENERIC32, f32_patt will be used. 2. For the rest, alt_patt will be used. @@ -1473,6 +1473,8 @@ i386_generate_nops (fragS *fragP, char * if (fragP->tc_frag_data.isa_flags.bitfield.cpunop) patt = alt_patt; break; + + case PROCESSOR_PENTIUMPRO: case PROCESSOR_PENTIUM4: case PROCESSOR_NOCONA: case PROCESSOR_CORE: @@ -1493,7 +1495,7 @@ i386_generate_nops (fragS *fragP, char * case PROCESSOR_I386: case PROCESSOR_I486: case PROCESSOR_PENTIUM: - case PROCESSOR_PENTIUMPRO: + case PROCESSOR_I686: case PROCESSOR_IAMCU: case PROCESSOR_GENERIC32: break; --- a/gas/config/tc-i386.h +++ b/gas/config/tc-i386.h @@ -242,6 +242,7 @@ enum processor_type PROCESSOR_I386, PROCESSOR_I486, PROCESSOR_PENTIUM, + PROCESSOR_I686, PROCESSOR_PENTIUMPRO, PROCESSOR_PENTIUM4, PROCESSOR_NOCONA, From patchwork Wed Sep 27 15:51:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 145435 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp2724214vqu; Wed, 27 Sep 2023 08:54:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF3m4EhZoJmSKxCR2GeUl2zLIcbFXJoiXiv41rocSw7DVKmVYF7HS5E1XKMcHiXM80dh5ak X-Received: by 2002:a2e:9947:0:b0:2bc:c1d9:6848 with SMTP id r7-20020a2e9947000000b002bcc1d96848mr2464699ljj.44.1695830049704; Wed, 27 Sep 2023 08:54:09 -0700 (PDT) Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id oz9-20020a1709077d8900b009b287d56019si8578458ejc.734.2023.09.27.08.54.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 08:54:09 -0700 (PDT) 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="ZPWozK/g"; 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 6AE35387541F for ; Wed, 27 Sep 2023 15:51:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6AE35387541F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1695829880; bh=+YFr8DbTMe2sLhi5b3Hpm42dkRNEQ3GBlgLHfHx52Js=; h=Date:Subject:To:Cc:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=ZPWozK/gXBaJxF/1SKWzAYYU0h8X4UCtKMHoY4vedJJwFvVmjv244Nr7kf/wxRN6A Cj83MNis2bmQWxuJvWWHrSiTvRaAsY5eu0+E5CLU3pe8Lxz71kKCpCXzAYFtAo1sBY PFxLp518ydwCcxzwusrxPEgRK6A+lqs1zpuxJeFM= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2071.outbound.protection.outlook.com [40.107.7.71]) by sourceware.org (Postfix) with ESMTPS id 1404338319F3 for ; Wed, 27 Sep 2023 15:51:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1404338319F3 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eje0qPJnr7Gt7uW5YYSaGRnomzx8JNEcE2IiZ7GkyEBoMQIU0N+TeksZblhoY2Hfs7ATRRnfJQ857loALyePEIfFgeszGNE13ElZ8umBmO56QqeFFQx13T3ps2d+FXWhBkS4WLYUREvS8vos89g+jhO3UCFwu5WjPI9W+1EvYV3A+WzoA0rDA+bYbniyQeAN/y3i2mv9CqIlBm8uxVE0lUVWN1ie3kpKmf/K4gidGt7TYfgGZEdIzXeeZHLpCOnhrx4ngVzYM81nzU+ptc1beHx7RisWlnViiI88zY2cqIB+X0XW5reb6b5AAxUdrwsZT2G3pZpeMdDaS17lafn0iA== 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=+YFr8DbTMe2sLhi5b3Hpm42dkRNEQ3GBlgLHfHx52Js=; b=P5H2LjLzStcGhotYzhOACUqI8Z5jLj12wUU3rEvBNftBlnod+6PdDUmQ1+ngp/Fv12G6VQ6lpenj8rugP3oEMmu6OjBwn+YRZr6VKKFM8eesCRaXQ1L1pAZ+EXDIjGmRHBFJDExUWss5hEm5VsuxjmjI2sTuZCv3dp3G/ljaJRVdgAHW2b9IYgXWgADquEZkdfBzrKQX3g4S/n4NaOCqeewkZWV01EVXY8B4o+8t5EeiqCUwU2yM2RkHASLh6nqE7tCqE9DVvWUszoGFl7Z6zqSkZ3l9clYwzJ4DEBIERWuteFNbe0WKgJ9KV5z6PlmtAQ3ZQ3pJmVPIuFqTfIinmg== 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 PAWPR04MB9887.eurprd04.prod.outlook.com (2603:10a6:102:390::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.28; Wed, 27 Sep 2023 15:51:09 +0000 Received: from AS8PR04MB8788.eurprd04.prod.outlook.com ([fe80::afae:3fda:c84d:bcdc]) by AS8PR04MB8788.eurprd04.prod.outlook.com ([fe80::afae:3fda:c84d:bcdc%7]) with mapi id 15.20.6838.016; Wed, 27 Sep 2023 15:51:09 +0000 Message-ID: Date: Wed, 27 Sep 2023 17:51:07 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: [PATCH 07/11] x86: don't record full i386_cpu_flags in struct i386_tc_frag_data Content-Language: en-US To: Binutils Cc: "H.J. Lu" References: <7ce54bc2-fef2-d2e4-21fd-202fdead0c20@suse.com> In-Reply-To: <7ce54bc2-fef2-d2e4-21fd-202fdead0c20@suse.com> X-ClientProxiedBy: FR2P281CA0133.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:9e::17) To AS8PR04MB8788.eurprd04.prod.outlook.com (2603:10a6:20b:42f::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8788:EE_|PAWPR04MB9887:EE_ X-MS-Office365-Filtering-Correlation-Id: ceb658ff-c6f3-49e3-6557-08dbbf71912c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: s3NpSaSeu1bbqRUVflDZNUHSNH1i6AcFPSekEUaBGOxs2SUFnZjR6IjVaD/UMMIDBqF6xNsMjd6iuS16dD7zKutXWSGXwqwDRxljXPvbP80UyNCO8zV5P5ADOhNm8vyNYnIt1SvfMaq43bwbYod32hE6K2ZLjPRlVo0+W0FuMoWlzuXwTxVK/6LK4V+3I61Ghbx4ltAcSFTrc2V8uH8qIrYzPYnAD8cx/H4s7tpsIOebV7aIeBYcL7I1lXdjVWZykz2KZUbWfYfNZ7vrj8z15OK4td4ozlexXZJAoGnCfjee2X8t2b89rdJhfO9yzU+1M7weVeX4zgTCRvWuGlNL87Ml5W6IOp/Q2RFCVWxTpkrJC6zA75hCR5mGaPuc+7qj0YQ5BRQtSxr0Nrx9g7t92IlCDHljgyv/AamrNLnHYEdqgigCFJ3mghQ30Z8InCFX/l9CyO344jQ14v8xO4RnPys3JoaXN/I7VV7WwLDYJ31/RlKGjmRg2/b7+bDLHXAh5d80eO6P9CFbTWmQUTGGnjcLvBf7//71ZQOAnW/F3wcP+3RVabrKFe2I4TfuJBEUfhFuA6vIjbh+3pX3/GLXGTgIgCDqHcnFpxrjrN+xVL6vMdY+wKeLfvRYYTzbjUXEgIqQJIzBNxUn56LF3EjjJw== 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:(13230031)(376002)(136003)(396003)(366004)(39860400002)(346002)(230922051799003)(1800799009)(186009)(451199024)(31686004)(2906002)(41300700001)(8936002)(66946007)(4326008)(8676002)(5660300002)(66476007)(6486002)(478600001)(66556008)(6512007)(6506007)(2616005)(26005)(6916009)(316002)(36756003)(31696002)(38100700002)(86362001)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?2kCZS22NxuHvuQYDiztJtWdlFnU3?= =?utf-8?q?4jeL3BrBVo7fRSGTVrFhtXrOdpK47t9gTKaEU3xLsvYL5BnSiux5zGl1xCnUakpcZ?= =?utf-8?q?XjRFqI7unl0egcCPkmOkmksGA/JrB5gk0CkC90mLaaitx26MEbRRaIMHlmJgsrSXk?= =?utf-8?q?unMvB4DIagafA072kjrHVhoucova6Hta4HTLB2+G9S2/Zie2tGX3pBQ4sNbVEWzsK?= =?utf-8?q?WMUr3nZHFpAR474rpDgteKwMa44PKzYSCK2/UKFRp+j/DV+HQ1ulMnoQQMSLmCotG?= =?utf-8?q?LS1HXLnqh0hYMSoqrHWyiYiCC3i03tvUlR9JtVR/Am0R7qSMtrehgdHGSDN840czo?= =?utf-8?q?ELrxqtYMMx4WRNmkcp2ZT9Wpbk0SYtDD83VGlqm6f4AdGs8ePC5qwfD28snMMI0it?= =?utf-8?q?BxkY0ui2rwtEbaEA0PpXlp7OQXQWAUmxO537fwAOk/8c+jhkA/R0Je2VyGJYfzkTr?= =?utf-8?q?cay13bwXTLOZ348LwXzGoEXPfGK4cWRhlNeAdVGhKkeIOlWB7sfYMqC1K7GVf3r8U?= =?utf-8?q?6a+tS072OFSNp//kRWUWK90MwcBUzIzXEpJS3kgfx8YuDQ0Oufo/iaG8AvXh+2HwS?= =?utf-8?q?VwLpKj5VyHiooi7Ln2hCzhWvKkNdPXpd5/1yhIh/UcAmU1q9xfvfSlxXtzHGkMO+T?= =?utf-8?q?jlwYkGOTV60n9U+iny400KvSG43vu4xxu8p0WS9Hikz9iXSNXfFQQSxdqT1OkKMGR?= =?utf-8?q?BHF2dB3/liWoMyDkD7bYGdbuKf1nmPcY/RZfZiHQuKRi9Ywn49/rU1jcmFsaiNTVO?= =?utf-8?q?Bh8kAowva0qHusFoZJXRegtj7SQ3tFDS3A33whurhPYTywdS0RpU6LZsXRDGjqVB5?= =?utf-8?q?C8I2PfF0TqPpDrdcMSB4jUisPypS7y+7usJnsRUdwo0TY1kZP5B1i0Hd/AcFraWCT?= =?utf-8?q?0L1fyxeE3Z/dei3k5AmOW5ODNptcN5GtPd9hBHaYewCnEPZxcO2bkVapXJPvqixW2?= =?utf-8?q?fqm4hE/GDzqRgj96pVTYDr8jk8u1ILsgi1756dJ8Pyk9JyeFEQplG3TzstdbsgRwn?= =?utf-8?q?9AsRjg9FooiqKxSjOW0ZllQsGiYCzKx2keKrhfWN+SbpmsXCuoTYZs3bCzaokw/iS?= =?utf-8?q?xnUehTShNASdMeBr97pxdjX6zTifOhJVCkTN0YNCt7AZ5BVUvXD8w7BgnyNrXgrrK?= =?utf-8?q?WxIChNa6z/v2A3D5GYvnNUQsBIMYdyYNvtsXo/vryZQ645lzNowJ8DImF+Ul9fR1V?= =?utf-8?q?F1OQcoF7VYYoNbK0zkTIGWyaI6ZhO47GRzUIxKfP4VHzDt/M1p2fBoqg8cWNoJpT0?= =?utf-8?q?FWgv2zEIRRuKY9ZRLnjTL1DktMM74oD8MH/Gs5MUPv/qnlvddKVY4slkWnV4Mjfei?= =?utf-8?q?tlisuwnZ9NDb80tP4wGfCebmYT2SjNg9zZULiSxZGx9jjZnu1QHZ8SsLmyn7z+kIe?= =?utf-8?q?PEfofjyRk50GKEpDkyPy/Sa4PN/KwqNKdeGtYbxIbJsccG7pssWfJVZ3nHUPyb5ly?= =?utf-8?q?QJXiC2UMJb11aL0lszFiczXLb+a97VbYf7nyy7IKmFO1eSe8h5CibdrEZzNxC90AQ?= =?utf-8?q?C8G8LvV8qGnd?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: ceb658ff-c6f3-49e3-6557-08dbbf71912c X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8788.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Sep 2023 15:51:09.1497 (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: fcP3e+EzVOKPHKiSFPRaCqUG3cu+hJSWci7+z36H8xUe3879jEvNUZ71iihr046SkNn94moyzz/7rzFAPYgrNg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAWPR04MB9887 X-Spam-Status: No, score=-3026.8 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.30 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: INBOX X-GMAIL-THRID: 1778206690198053612 X-GMAIL-MSGID: 1778206690198053612 We only use a single bit of this ever growing structure. --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -1470,7 +1470,7 @@ i386_generate_nops (fragS *fragP, char * case PROCESSOR_UNKNOWN: /* We use cpu_arch_isa_flags to check if we SHOULD optimize with nops. */ - if (fragP->tc_frag_data.isa_flags.bitfield.cpunop) + if (fragP->tc_frag_data.isanop) patt = alt_patt; break; @@ -1516,7 +1516,7 @@ i386_generate_nops (fragS *fragP, char * default: /* We use cpu_arch_isa_flags to check if we CAN optimize with nops. */ - if (fragP->tc_frag_data.isa_flags.bitfield.cpunop) + if (fragP->tc_frag_data.isanop) patt = alt_patt; break; --- a/gas/config/tc-i386.h +++ b/gas/config/tc-i386.h @@ -284,7 +284,6 @@ struct i386_tc_frag_data } u; addressT padding_address; enum processor_type isa; - i386_cpu_flags isa_flags; enum processor_type tune; enum i386_flag_code code; unsigned int max_bytes; @@ -298,6 +297,7 @@ struct i386_tc_frag_data unsigned int classified : 1; unsigned int branch_type : 3; unsigned int cpunop : 1; + unsigned int isanop : 1; }; /* We need to emit the right NOP pattern in .align frags. This is @@ -311,9 +311,9 @@ struct i386_tc_frag_data (FRAGP)->tc_frag_data.u.padding_fragP = NULL; \ (FRAGP)->tc_frag_data.padding_address = 0; \ (FRAGP)->tc_frag_data.isa = cpu_arch_isa; \ - (FRAGP)->tc_frag_data.isa_flags = cpu_arch_isa_flags; \ (FRAGP)->tc_frag_data.tune = cpu_arch_tune; \ (FRAGP)->tc_frag_data.cpunop = cpu_arch_flags.bitfield.cpunop; \ + (FRAGP)->tc_frag_data.isanop = cpu_arch_isa_flags.bitfield.cpunop; \ (FRAGP)->tc_frag_data.code = i386_flag_code; \ (FRAGP)->tc_frag_data.max_bytes = (MAX_BYTES); \ (FRAGP)->tc_frag_data.length = 0; \ From patchwork Wed Sep 27 15:51:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 145439 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp2725141vqu; Wed, 27 Sep 2023 08:55:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFu9LnnxUeqlnGIs7VxapvlwFgbUv8hhreJMskXV/k42Rc9l35Pw9mMEmHr8OE1C5ez7Jrw X-Received: by 2002:a17:906:10da:b0:9a5:c9a4:ba1a with SMTP id v26-20020a17090610da00b009a5c9a4ba1amr2478512ejv.59.1695830145119; Wed, 27 Sep 2023 08:55:45 -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 m20-20020a17090679d400b00993a7ae9f37si11806973ejo.882.2023.09.27.08.55.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 08:55:45 -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=X4cS1FiK; 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 107AC388B6BD for ; Wed, 27 Sep 2023 15:52:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 107AC388B6BD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1695829945; bh=4Y4425JiQMUUqSktN55dlELF+8jQNmtUCn0N6r/PWmM=; h=Date:Subject:To:Cc:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=X4cS1FiK9Bey7OLMrSFsZM1Q+ebZVceX9C8Epdfys0kq0qPVr/918KcH4gdFfStca 9NpIHNRMDsZAUz/THy+oO5Y1hot/hdeLT2h2+CQZYFmp3lBZukarSUWXY4Efv6P/Hy TgQP4UbEtOF+YqwFTIJ32+1xyl9qNMkhXifOctiw= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2043.outbound.protection.outlook.com [40.107.20.43]) by sourceware.org (Postfix) with ESMTPS id 957493830B7B for ; Wed, 27 Sep 2023 15:51:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 957493830B7B ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MubO6XlPLOLd7sRLBNNZPfUzyd1v26C33BSmy5N3WaIMkjVbvD2QX2KD23c/UUaZLdR5OvMuB2bUj00Y7A5cHkZGfGEtgOAjxOoFewSFPVd/H1S1Perxjg/v4T0QDlw91k/RtQNdSl2KH6QkLd1777+P6S1IuHJSToOEM6Ercl9IsK85wBKn67v/onjEYwRllcz4On6RyfcbWc2GEcyV0dw2+mWBImnJ1on2zSfI9FXYLlAwd3v7dFHKf5rvTC1X2jQtAWSFISv7yaVBzwG9aTDy0N92v6MEXaBJba1xG0Gq41T7kJ4athbGYUXesnlk1PyId7kujFcuBQ0yDCk7Vg== 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=4Y4425JiQMUUqSktN55dlELF+8jQNmtUCn0N6r/PWmM=; b=hV63p9OPikgAozQSsKgSP7JyG0EBmtVi9KhYjEwpCiXsTXcOdionGzI2J8UytNEx4GT/nqr2n0qo7dLlmXk0pllSCnNvp4jgi4fw5l8Q84YlZlX0LnNqJFEdpiYvG4KvrZzqQyf/MbyjEImzO/3tR4a+WQcKI67o6RCAuWfJwWQLYK1mdXOjiiiaPvaLYg+gzG8oBpte1rO5CxzjfE4J8W4FoDlbkjnYrsrwvx0InoUUSKANPtOR+NhMAFrBg8+oeO+BmUnzj0p3XAjvhT3Go0y3wgYis3GdNK1RnDmRuRrKd/7aOb3acXXgiVdlRH8089zk3wUPZ4z+kk7t/0kfcA== 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 PAXPR04MB9138.eurprd04.prod.outlook.com (2603:10a6:102:22d::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.28; Wed, 27 Sep 2023 15:51:39 +0000 Received: from AS8PR04MB8788.eurprd04.prod.outlook.com ([fe80::afae:3fda:c84d:bcdc]) by AS8PR04MB8788.eurprd04.prod.outlook.com ([fe80::afae:3fda:c84d:bcdc%7]) with mapi id 15.20.6838.016; Wed, 27 Sep 2023 15:51:39 +0000 Message-ID: <743c244b-fb1a-3f41-3cdf-f144c6bec1bd@suse.com> Date: Wed, 27 Sep 2023 17:51:38 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: [PATCH 08/11] x86: add a few more NOP patterns Content-Language: en-US To: Binutils Cc: "H.J. Lu" References: <7ce54bc2-fef2-d2e4-21fd-202fdead0c20@suse.com> In-Reply-To: <7ce54bc2-fef2-d2e4-21fd-202fdead0c20@suse.com> X-ClientProxiedBy: FR0P281CA0146.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:96::20) To AS8PR04MB8788.eurprd04.prod.outlook.com (2603:10a6:20b:42f::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8788:EE_|PAXPR04MB9138:EE_ X-MS-Office365-Filtering-Correlation-Id: 132d07f3-7d2e-4a77-6378-08dbbf71a346 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: r4tOBO3dlFNDrg0yMrxvMi8bstKjFRdF6IhmB73IH+qA+iO4VSiDvXYyaDqEnN+wwQ8ZU7dkMYfTZK9rozX96BDtpxBjjR0l51FwIOIUddFMgThNElBtvSCSsYo1RWDF7leEuA777oFKjKeH2nndiuSdepi70D0lDrk68u5f1NRMN2mLgCKp3czw2Ufh/wvXnQh93UjKSaE/AUHbELPk14dGm4TxbdS7QF9vjXihPy5eaHPeg/0ystqykR0RU23NTeTbIe1wTxzG4r0wBYsFk50aoHlbVJmKiBhhbMH7SKA+seXb1eP5ZKZkgbe3MvGh0u6PEHREtDMlpZa0+OmlUa4eQS5EWXA7B34d7swv4NvoAnjhBGKUhInjhhchCmKuhxStZGk+dVJtr/Di+BnnTRPV9OnTC+/nB+yVHk/x7g7hpYfyJtvToixBtpdW1iQkYwTUgdM72TNV5C1Q3LJiCn3CeFdqBNCXU/b9EQDfkGDzejSETGyO6/IPuQrVU5t0/eTaZutdpeNDtDFhnrnXVmExzcq2x6BaDhUM1BiAgXI6e3ibcgbmF44oDRtgLMrY45u/jtf/bv6gxCwmDNCo7kbfi5uLISLwMKdm+1dBNn+veriNEeNdEy8WhXOop3NrT1qfi2kilqR0VoYMVtCANg== 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:(13230031)(136003)(396003)(346002)(366004)(376002)(39860400002)(230922051799003)(1800799009)(451199024)(186009)(6512007)(6506007)(2616005)(8936002)(83380400001)(26005)(2906002)(478600001)(4326008)(66556008)(66476007)(6916009)(66946007)(316002)(5660300002)(41300700001)(8676002)(30864003)(36756003)(31696002)(6486002)(38100700002)(86362001)(31686004)(43740500002)(45980500001)(559001)(579004); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?blJe1MoeYp7sroxw1nYho8xJhduh?= =?utf-8?q?zoZEmPKF7mFaiO4bHSpYZ3LFRXT9v+ynZPRK4vd7GjAmc/Xjq9l4cjkNSY9Pm1J9V?= =?utf-8?q?liZCZCCvIrXmlLrOVxVfuLiRokjIrBULJXxbO5CffGiZ//AL2+BOPeqBhQ07vIjEB?= =?utf-8?q?TMPCdzE/HCtb+Zs1Rizk9PTnGvtEe1A9dmMnaI6uPwtpMFzqnZJyXKh+P+4QkauQ9?= =?utf-8?q?uDmyZ3TPeetW8YzswRPiwO8O/N60lhKTGTzz6MvxYdIs+1JBMCXEhhkFBF3xj+S/k?= =?utf-8?q?TfeXYm2lNhfN2BK5jt6fUbsqj5AwJ+tw8ybOiS85rxIyB0QMB5fKW781KqpyYNSFo?= =?utf-8?q?sBLUE62++0WT4zMYVvWirYxvL+yhdlEJ777+wfu2PjJG2Ewe4+PVqWyDgN1hb83IS?= =?utf-8?q?JsOpK0uNKSz+kcx54HrnU9sYtX7TjgNYTBtFXGnQ0n0htCiOgeO2fGLX3CBdeBCG+?= =?utf-8?q?Vy2LOI37OTJa+8FU0XLufGmCcuR4wfWQVA5DGVfGyyQA0lazDT1B80nXcXp/2I3DF?= =?utf-8?q?VClCUILruCo9Oa0A2HrovxdHUW5Yrq0dvj6l8ZIbeBeiybf9HjUK5WlDyhRDISkPb?= =?utf-8?q?zirPJ25k+7Hpyyr7iYlKIs36zMgLSvocoZWtROD/z21+PXmIU+hGZwTrmLx07ROr0?= =?utf-8?q?kbDRbMMjGcDz4EX5/ELAHmY/e6CNuObP/mRZHdb3WhNkbtG+MDwC9kyghlpQCr+cN?= =?utf-8?q?h0Rqm2DQMDoYLZEJx0A37lKfPG3tHxoTootSyRzVmGzRfGBcu7vatgqdqKlEKHqYN?= =?utf-8?q?hpYHWmJYoGUmU6eZgJIXn9mVYfZkiSGoQgP+URYYrLYNIDZA4JnnXMnvdGytrrdAu?= =?utf-8?q?xgJZxPPGtecA1UpjcMc3sEjcymCzoAcNIeUwVIiu5MMsQhGwpFlMbNF2BqR5HnzuX?= =?utf-8?q?j5sMY9OvYC+tYUlHQjA37QhF/F/qYnkMjVsqNvVB9pQLKFf0dhdCErCuko7cbNRRN?= =?utf-8?q?AamerTNytYj2M5of8OU0CeCjJImxedRvtP5fLTiVGHtkZ64hD6WKyOGEZZMYwZRsZ?= =?utf-8?q?k8QwOmzqch5g/b0NE8xjfM0BVJ0L4dzO4lv5Kak4jT+4W4Ro4ZWGIVeTYCwNWosJ6?= =?utf-8?q?0mC4MOeZJLEUI+/f0JMfG4EOzSq8yUf/xwAoo7PVo6SxScxOF6BdvW6KqirFftbFe?= =?utf-8?q?bY7Ls1rsV7jczByr/yYbJv3VAzuQYyiWIKPZjKIIyZSU4kS5XcBBpyto9QwNp+606?= =?utf-8?q?NcZhFHdpueIaTxtFrxdxiys7HXFkIQwkKsvt4V5Ieg0zYBb74ap/AO3+aROAhH+j6?= =?utf-8?q?5/mX58TQv60gs36GuFkVPzgmfPWn5H58DICZ8VcszFbIUH8eQtadL4PftTIkC3CoO?= =?utf-8?q?kz236lsWG7CfZ2/9BoXWhLWE3azuUkfIk2TinNXVWiwAkHunMOZy/TcYPjHE1Y6/a?= =?utf-8?q?ZGH8yfH0Ua76kYmIM4A6Iakw2dZz7l8OqbzqWdN9k/lDp9+RccWMHq6G8wvhAVf63?= =?utf-8?q?HR3IvkcSz3QRYdhlK0KFn4s4jpS8Q5++Aida2MHxYyx9eED64pn+sw/Jk8vGjK71g?= =?utf-8?q?TJ+O5wJpmbOI?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 132d07f3-7d2e-4a77-6378-08dbbf71a346 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8788.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Sep 2023 15:51:39.6241 (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: FCYeqzls5i8QaoQgmUKY201E+2VTq0HbkvjxOvHor2QF9uV0vIVm1T/Rei1a2hV4YTy70FNpgLNYVeBz1cI4fQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9138 X-Spam-Status: No, score=-3026.8 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.30 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: INBOX X-GMAIL-THRID: 1778206790613677325 X-GMAIL-MSGID: 1778206790613677325 First of all add f32_5[], allowing to eliminate the extra slot-is-NULL code from i386_output_nops(). Plus then introduce f32_8[] and f16_5[] following the same concept of adding a %cs segment override prefix. Also re-use patterns when possible and correct comments as applicable. Similarly re-use testcase expectations as much as possible, where they need touching anyway. --- The x86-64-nops-5* tests are kind of bogus: The source file has .code32 almost first thing, and hence there's no real 64-bit testing there. We could likely as well delete them, rather than fiddling with them here. --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -1273,12 +1273,14 @@ static const unsigned char f32_2[] = {0x66,0x90}; /* xchg %ax,%ax */ static const unsigned char f32_3[] = {0x8d,0x76,0x00}; /* leal 0(%esi),%esi */ -static const unsigned char f32_4[] = - {0x8d,0x74,0x26,0x00}; /* leal 0(%esi,1),%esi */ +#define f32_4 (f32_5 + 1) /* leal 0(%esi,%eiz),%esi */ +static const unsigned char f32_5[] = + {0x2e,0x8d,0x74,0x26,0x00}; /* leal %cs:0(%esi,%eiz),%esi */ static const unsigned char f32_6[] = {0x8d,0xb6,0x00,0x00,0x00,0x00}; /* leal 0L(%esi),%esi */ -static const unsigned char f32_7[] = - {0x8d,0xb4,0x26,0x00,0x00,0x00,0x00}; /* leal 0L(%esi,1),%esi */ +#define f32_7 (f32_8 + 1) /* leal 0L(%esi,%eiz),%esi */ +static const unsigned char f32_8[] = + {0x2e,0x8d,0xb4,0x26,0x00,0x00,0x00,0x00}; /* leal %cs:0L(%esi,%eiz),%esi */ static const unsigned char f64_3[] = {0x48,0x89,0xf6}; /* mov %rsi,%rsi */ static const unsigned char f64_4[] = @@ -1294,8 +1296,9 @@ static const unsigned char f64_9[] = #define f16_2 (f64_3 + 1) /* mov %si,%si */ static const unsigned char f16_3[] = {0x8d,0x74,0x00}; /* lea 0(%si),%si */ -static const unsigned char f16_4[] = - {0x8d,0xb4,0x00,0x00}; /* lea 0W(%si),%si */ +#define f16_4 (f16_5 + 1) /* lea 0W(%si),%si */ +static const unsigned char f16_5[] = + {0x2e,0x8d,0xb4,0x00,0x00}; /* lea %cs:0W(%si),%si */ static const unsigned char jump_disp8[] = {0xeb}; /* jmp disp8 */ static const unsigned char jump32_disp32[] = @@ -1304,7 +1307,7 @@ static const unsigned char jump16_disp32 {0x66,0xe9}; /* jmp disp32 */ /* 32-bit NOPs patterns. */ static const unsigned char *const f32_patt[] = { - f32_1, f32_2, f32_3, f32_4, NULL, f32_6, f32_7 + f32_1, f32_2, f32_3, f32_4, f32_5, f32_6, f32_7, f32_8 }; /* 64-bit NOPs patterns. */ static const unsigned char *const f64_patt[] = { @@ -1312,7 +1315,7 @@ static const unsigned char *const f64_pa }; /* 16-bit NOPs patterns. */ static const unsigned char *const f16_patt[] = { - f32_1, f16_2, f16_3, f16_4 + f32_1, f16_2, f16_3, f16_4, f16_5 }; /* nopl (%[re]ax) */ static const unsigned char alt_3[] = @@ -1368,14 +1371,6 @@ i386_output_nops (char *where, const uns } nops = patt[max_single_nop_size - 1]; - - /* Use the smaller one if the requsted one isn't available. */ - if (nops == NULL) - { - max_single_nop_size--; - nops = patt[max_single_nop_size - 1]; - } - last = count % max_single_nop_size; count -= last; @@ -1385,17 +1380,7 @@ i386_output_nops (char *where, const uns if (last) { nops = patt[last - 1]; - if (nops == NULL) - { - /* Use the smaller one plus one-byte NOP if the needed one - isn't available. */ - last--; - nops = patt[last - 1]; - memcpy (where + offset, nops, last); - where[offset + last] = *patt[0]; - } - else - memcpy (where + offset, nops, last); + memcpy (where + offset, nops, last); } } --- a/gas/testsuite/gas/i386/align-branch-6.d +++ b/gas/testsuite/gas/i386/align-branch-6.d @@ -8,14 +8,13 @@ Disassembly of section .text: 0+ <_start>: +[a-f0-9]+: eb 3c jmp 3e <_start\+0x3e> - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi +[a-f0-9]+: f2 73 bf bnd jae 0 <_start> +[a-f0-9]+: c3 ret --- a/gas/testsuite/gas/i386/ilp32/x86-64-nops-5-k8.d +++ b/gas/testsuite/gas/i386/ilp32/x86-64-nops-5-k8.d @@ -2,78 +2,4 @@ #as: -march=k8 #objdump: -drw #name: x86-64 (ILP32) -march=k8 nops 5 - -.*: +file format .* - -Disassembly of section .text: - -0+ : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%rsi\),%esi - -0+10 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%rsi\),%esi - -0+20 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%rsi\),%esi - -0+30 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%rsi\),%esi - -0+40 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+50 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+60 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+70 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+80 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%rsi\),%esi - -0+90 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+a0 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+b0 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%rsi\),%esi - -0+c0 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+d0 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax -#pass +#dump: ../x86-64-nops-5.d --- a/gas/testsuite/gas/i386/ilp32/x86-64-nops-5.d +++ b/gas/testsuite/gas/i386/ilp32/x86-64-nops-5.d @@ -1,78 +1,4 @@ #source: ../nops-5.s #objdump: -drw #name: x86-64 (ILP32) nops 5 - -.*: +file format .* - -Disassembly of section .text: - -0+ : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%rsi\),%esi - -0+10 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%rsi\),%esi - -0+20 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%rsi\),%esi - -0+30 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%rsi\),%esi - -0+40 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+50 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+60 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+70 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+80 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%rsi\),%esi - -0+90 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+a0 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+b0 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%rsi\),%esi - -0+c0 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+d0 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax -#pass +#dump: ../x86-64-nops-5.d --- a/gas/testsuite/gas/i386/nop-1.d +++ b/gas/testsuite/gas/i386/nop-1.d @@ -13,46 +13,42 @@ Disassembly of section .text: +[a-f0-9]+: 90 nop 0+2 : - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 90 nop + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi 0+a : +[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi +[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi 0+12 : - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi 0+26 : +[a-f0-9]+: eb 1c jmp 44 - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi 0+44 : +[a-f0-9]+: eb 7f jmp c5 + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 90 nop 0+c5 : +[a-f0-9]+: 31 c0 xor %eax,%eax --- a/gas/testsuite/gas/i386/nop-1-suffix.d +++ b/gas/testsuite/gas/i386/nop-1-suffix.d @@ -14,46 +14,42 @@ Disassembly of section .text: +[a-f0-9]+: 90 nop 0+2 : - +[a-f0-9]+: 8d b4 26 00 00 00 00 leal 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 90 nop + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 leal %cs:(0x)?0\(%esi,%eiz,1\),%esi 0+a : +[a-f0-9]+: 8d 74 26 00 leal 0x0\(%esi,%eiz,1\),%esi +[a-f0-9]+: 8d 74 26 00 leal 0x0\(%esi,%eiz,1\),%esi 0+12 : - +[a-f0-9]+: 8d b4 26 00 00 00 00 leal 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 leal 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b6 00 00 00 00 leal 0x0\(%esi\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 leal %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 leal %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 8d 74 26 00 leal 0x0\(%esi,%eiz,1\),%esi 0+26 : +[a-f0-9]+: eb 1c jmp 44 - +[a-f0-9]+: 8d b4 26 00 00 00 00 leal 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 leal 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 leal 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 leal 0x0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 leal %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 leal %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 leal %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 8d 74 26 00 leal 0x0\(%esi,%eiz,1\),%esi 0+44 : +[a-f0-9]+: eb 7f jmp c5 + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 leal %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 leal %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 leal %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 leal %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 leal %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 leal %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 leal %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 leal %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 leal %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 leal %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 leal %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 leal %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 leal %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 leal %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 leal %cs:(0x)?0\(%esi,%eiz,1\),%esi +[a-f0-9]+: 8d b4 26 00 00 00 00 leal 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 leal 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 leal 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 leal 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 leal 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 leal 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 leal 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 leal 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 leal 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 leal 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 leal 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 leal 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 leal 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 leal 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 leal 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 leal 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 leal 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 leal 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 90 nop 0+c5 : +[a-f0-9]+: 31 c0 xorl %eax,%eax --- a/gas/testsuite/gas/i386/nop-2.d +++ b/gas/testsuite/gas/i386/nop-2.d @@ -13,8 +13,8 @@ Disassembly of section .text: +[a-f0-9]+: 90 nop 0+2 : - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si + +[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si + +[a-f0-9]+: 8d 74 00 lea (0x)?0\(%si\),%si 0+a : +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si @@ -22,56 +22,48 @@ Disassembly of section .text: 0+12 : +[a-f0-9]+: eb 12 jmp 26 - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 89 f6 mov %si,%si + +[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si + +[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si + +[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si + +[a-f0-9]+: 8d 74 00 lea (0x)?0\(%si\),%si 0+26 : +[a-f0-9]+: eb 1c jmp 44 - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si + +[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si + +[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si + +[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si + +[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si + +[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si + +[a-f0-9]+: 8d 74 00 lea (0x)?0\(%si\),%si 0+44 : +[a-f0-9]+: eb 7f jmp c5 - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d 74 00 lea 0x0\(%si\),%si + +[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si + +[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si + +[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si + +[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si + +[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si + +[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si + +[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si + +[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si + +[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si + +[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si + +[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si + +[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si + +[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si + +[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si + +[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si + +[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si + +[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si + +[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si + +[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si + +[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si + +[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si + +[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si + +[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si + +[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si + +[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si + +[a-f0-9]+: 89 f6 mov %si,%si 0+c5 : +[a-f0-9]+: 66 31 c0 xor %eax,%eax --- a/gas/testsuite/gas/i386/nop-4.d +++ b/gas/testsuite/gas/i386/nop-4.d @@ -9,8 +9,8 @@ Disassembly of section .text: 0+ <_start>: +[a-f0-9]+: 31 c0 xor %eax,%eax +[a-f0-9]+: 85 c0 test %eax,%eax - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 66 90 xchg %ax,%ax + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 90 nop +[a-f0-9]+: 31 c0 xor %eax,%eax +[a-f0-9]+: 31 c0 xor %eax,%eax --- a/gas/testsuite/gas/i386/nop-5.d +++ b/gas/testsuite/gas/i386/nop-5.d @@ -9,9 +9,9 @@ Disassembly of section .text: 0+ <_start>: +[a-f0-9]+: 31 c0 xor %eax,%eax +[a-f0-9]+: 85 c0 test %eax,%eax - +[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d 76 00 lea 0x0\(%esi\),%esi + +[a-f0-9]+: 2e 8d 74 26 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d 74 26 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 90 nop +[a-f0-9]+: 31 c0 xor %eax,%eax +[a-f0-9]+: 31 c0 xor %eax,%eax --- a/gas/testsuite/gas/i386/nops-1.d +++ b/gas/testsuite/gas/i386/nops-1.d @@ -9,31 +9,29 @@ Disassembly of section .text: 0+ : +[a-f0-9]+: 90 nop + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 90 nop 0+10 : +[a-f0-9]+: 90 nop +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 8d b6 00 00 00 00 lea (0x)?0\(%esi\),%esi 0+20 : +[a-f0-9]+: 90 nop +[a-f0-9]+: 90 nop +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d 74 26 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi 0+30 : +[a-f0-9]+: 90 nop +[a-f0-9]+: 90 nop +[a-f0-9]+: 90 nop +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 90 nop + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 8d 74 26 00 lea (0x)?0\(%esi,%eiz,1\),%esi 0+40 : +[a-f0-9]+: 90 nop @@ -41,8 +39,8 @@ Disassembly of section .text: +[a-f0-9]+: 90 nop +[a-f0-9]+: 90 nop +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 8d 76 00 lea (0x)?0\(%esi\),%esi 0+50 : +[a-f0-9]+: 90 nop @@ -51,8 +49,8 @@ Disassembly of section .text: +[a-f0-9]+: 90 nop +[a-f0-9]+: 90 nop +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d 76 00 lea 0x0\(%esi\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 66 90 xchg %ax,%ax 0+60 : +[a-f0-9]+: 90 nop @@ -62,8 +60,8 @@ Disassembly of section .text: +[a-f0-9]+: 90 nop +[a-f0-9]+: 90 nop +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 66 90 xchg %ax,%ax + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 90 nop 0+70 : +[a-f0-9]+: 90 nop @@ -74,8 +72,7 @@ Disassembly of section .text: +[a-f0-9]+: 90 nop +[a-f0-9]+: 90 nop +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 90 nop + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi 0+80 : +[a-f0-9]+: 90 nop @@ -114,8 +111,7 @@ Disassembly of section .text: +[a-f0-9]+: 90 nop +[a-f0-9]+: 90 nop +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 90 nop + +[a-f0-9]+: 2e 8d 74 26 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi 0+b0 : +[a-f0-9]+: 90 nop --- a/gas/testsuite/gas/i386/nops-1-i386.d +++ b/gas/testsuite/gas/i386/nops-1-i386.d @@ -2,166 +2,4 @@ #source: nops-1.s #objdump: -drw #name: i386 -mtune=i386 nops 1 - -.*: +file format .* - -Disassembly of section .text: - -0+ : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 90 nop - -0+10 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - -0+20 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi - -0+30 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 90 nop - -0+40 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi - -0+50 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d 76 00 lea 0x0\(%esi\),%esi - -0+60 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 66 90 xchg %ax,%ax - -0+70 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 90 nop - -0+80 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - -0+90 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi - -0+a0 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 90 nop - -0+b0 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi - -0+c0 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d 76 00 lea 0x0\(%esi\),%esi - -0+d0 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 66 90 xchg %ax,%ax -#pass +#dump: nops-1.d --- a/gas/testsuite/gas/i386/nops-1-i386-i686.d +++ b/gas/testsuite/gas/i386/nops-1-i386-i686.d @@ -2,166 +2,4 @@ #source: nops-1.s #objdump: -drw #name: i386 nops -march=i386 -mtune=i686 1 - -.*: +file format .* - -Disassembly of section .text: - -0+ : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 90 nop - -0+10 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - -0+20 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi - -0+30 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 90 nop - -0+40 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi - -0+50 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d 76 00 lea 0x0\(%esi\),%esi - -0+60 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+70 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 90 nop - -0+80 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - -0+90 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi - -0+a0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 90 nop - -0+b0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi - -0+c0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d 76 00 lea 0x0\(%esi\),%esi - -0+d0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax -#pass +#dump: nops-1.d --- a/gas/testsuite/gas/i386/nops-1-i686.d +++ b/gas/testsuite/gas/i386/nops-1-i686.d @@ -2,167 +2,4 @@ #source: nops-1.s #objdump: -drw #name: i386 -mtune=i686 nops 1 - -.*: +file format .* - - -Disassembly of section .text: - -0+ : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 90 nop - -0+10 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - -0+20 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi - -0+30 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 90 nop - -0+40 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi - -0+50 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d 76 00 lea 0x0\(%esi\),%esi - -0+60 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+70 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 90 nop - -0+80 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - -0+90 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi - -0+a0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 90 nop - -0+b0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi - -0+c0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d 76 00 lea 0x0\(%esi\),%esi - -0+d0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax -#pass +#dump: nops-1.d --- a/gas/testsuite/gas/i386/nops-10.d +++ b/gas/testsuite/gas/i386/nops-10.d @@ -8,6 +8,6 @@ Disassembly of section .text: 0+ : [ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d 74 26 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi #pass --- a/gas/testsuite/gas/i386/nops-2.d +++ b/gas/testsuite/gas/i386/nops-2.d @@ -9,36 +9,34 @@ Disassembly of section .text: 0+ : +[a-f0-9]+: 0f be f0 movsbl %al,%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d 74 26 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi 0+10 : +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 90 nop + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 8d b4 26 00 00 00 00 lea (0x)?0\(%esi,%eiz,1\),%esi 0+20 : +[a-f0-9]+: 90 nop +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 8d b6 00 00 00 00 lea (0x)?0\(%esi\),%esi 0+30 : +[a-f0-9]+: 90 nop +[a-f0-9]+: 90 nop +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d 74 26 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi 0+40 : +[a-f0-9]+: 90 nop +[a-f0-9]+: 90 nop +[a-f0-9]+: 90 nop +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 90 nop + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 8d 74 26 00 lea (0x)?0\(%esi,%eiz,1\),%esi 0+50 : +[a-f0-9]+: 90 nop @@ -46,8 +44,8 @@ Disassembly of section .text: +[a-f0-9]+: 90 nop +[a-f0-9]+: 90 nop +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 8d 76 00 lea (0x)?0\(%esi\),%esi 0+60 : +[a-f0-9]+: 90 nop @@ -56,8 +54,8 @@ Disassembly of section .text: +[a-f0-9]+: 90 nop +[a-f0-9]+: 90 nop +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d 76 00 lea 0x0\(%esi\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 66 90 xchg %ax,%ax 0+70 : +[a-f0-9]+: 90 nop @@ -67,8 +65,8 @@ Disassembly of section .text: +[a-f0-9]+: 90 nop +[a-f0-9]+: 90 nop +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 66 90 xchg %ax,%ax + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 90 nop 0+80 : +[a-f0-9]+: 90 nop @@ -79,8 +77,7 @@ Disassembly of section .text: +[a-f0-9]+: 90 nop +[a-f0-9]+: 90 nop +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 90 nop + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi 0+90 : +[a-f0-9]+: 90 nop @@ -119,8 +116,7 @@ Disassembly of section .text: +[a-f0-9]+: 90 nop +[a-f0-9]+: 90 nop +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 90 nop + +[a-f0-9]+: 2e 8d 74 26 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi 0+c0 : +[a-f0-9]+: 90 nop --- a/gas/testsuite/gas/i386/nops-2-core2.d +++ b/gas/testsuite/gas/i386/nops-2-core2.d @@ -2,171 +2,4 @@ #source: nops-2.s #objdump: -drw #name: i386 -march=i386 -mtune=core2 nops 2 - -.*: +file format .* - -Disassembly of section .text: - -0+ : - +[a-f0-9]+: 0f be f0 movsbl %al,%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi - -0+10 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 90 nop - -0+20 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - -0+30 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi - -0+40 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 90 nop - -0+50 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi - -0+60 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d 76 00 lea 0x0\(%esi\),%esi - -0+70 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 66 90 xchg %ax,%ax - -0+80 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 90 nop - -0+90 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - -0+a0 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi - -0+b0 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 90 nop - -0+c0 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi - -0+d0 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d 76 00 lea 0x0\(%esi\),%esi - -0+e0 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 66 90 xchg %ax,%ax -#pass +#dump: nops-2.d --- a/gas/testsuite/gas/i386/nops-2-i386.d +++ b/gas/testsuite/gas/i386/nops-2-i386.d @@ -2,171 +2,4 @@ #source: nops-2.s #objdump: -drw #name: i386 nops -mtune=i386 2 - -.*: +file format .* - -Disassembly of section .text: - -0+ : - +[a-f0-9]+: 0f be f0 movsbl %al,%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi - -0+10 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 90 nop - -0+20 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - -0+30 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi - -0+40 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 90 nop - -0+50 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi - -0+60 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d 76 00 lea 0x0\(%esi\),%esi - -0+70 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 66 90 xchg %ax,%ax - -0+80 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 90 nop - -0+90 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - -0+a0 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi - -0+b0 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 90 nop - -0+c0 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi - -0+d0 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 8d 76 00 lea 0x0\(%esi\),%esi - -0+e0 : - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 90 nop - +[a-f0-9]+: 66 90 xchg %ax,%ax -#pass +#dump: nops-2.d --- a/gas/testsuite/gas/i386/nops-3.d +++ b/gas/testsuite/gas/i386/nops-3.d @@ -10,12 +10,11 @@ Disassembly of section .text: 0+ : [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: eb 1d jmp 20 -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 90 nop +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d 74 26 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi [ ]*[a-f0-9]+: 89 c3 mov %eax,%ebx -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea (0x)?0\(%esi\),%esi #pass --- a/gas/testsuite/gas/i386/nops-3-i386.d +++ b/gas/testsuite/gas/i386/nops-3-i386.d @@ -2,20 +2,4 @@ #source: nops-3.s #objdump: -drw #name: i386 nops -mtune=i386 3 - -.*: +file format .* - -Disassembly of section .text: - -0+ : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: eb 1d jmp 20 -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 89 c3 mov %eax,%ebx -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -#pass +#dump: nops-3.d --- a/gas/testsuite/gas/i386/nops-3-i686.d +++ b/gas/testsuite/gas/i386/nops-3-i686.d @@ -2,20 +2,4 @@ #source: nops-3.s #objdump: -drw #name: i386 -mtune=i686 nops 3 - -.*: +file format .* - -Disassembly of section .text: - -0+ : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: eb 1d jmp 20 -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 89 c3 mov %eax,%ebx -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -#pass +#dump: nops-3.d --- a/gas/testsuite/gas/i386/nops-4.d +++ b/gas/testsuite/gas/i386/nops-4.d @@ -9,30 +9,29 @@ Disassembly of section .text: 0+ : [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: eb 1d jmp 20 -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 90 nop +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d 74 26 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi 0+20 : [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: eb 1c jmp 40 -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 8d 74 26 00 lea (0x)?0\(%esi,%eiz,1\),%esi 0+40 : [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: eb 1b jmp 60 -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 8d 76 00 lea (0x)?0\(%esi\),%esi 0+60 : [ ]*[a-f0-9]+: 90 nop @@ -40,11 +39,10 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: eb 1a jmp 80 -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 90 nop +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax 0+80 : [ ]*[a-f0-9]+: 90 nop @@ -53,10 +51,10 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: eb 19 jmp a0 -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 90 nop 0+a0 : [ ]*[a-f0-9]+: 90 nop @@ -66,10 +64,9 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: eb 18 jmp c0 -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d 76 00 lea 0x0\(%esi\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi 0+c0 : [ ]*[a-f0-9]+: 90 nop @@ -80,10 +77,9 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: eb 17 jmp e0 -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea (0x)?0\(%esi,%eiz,1\),%esi 0+e0 : [ ]*[a-f0-9]+: 90 nop @@ -95,10 +91,9 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: eb 16 jmp 100 -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 90 nop +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea (0x)?0\(%esi\),%esi 0+100 : [ ]*[a-f0-9]+: 90 nop @@ -110,10 +105,9 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: eb 15 jmp 120 -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea (0x)?0\(%esi,%eiz,1\),%esi 0+120 : [ ]*[a-f0-9]+: 90 nop @@ -126,10 +120,9 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: eb 14 jmp 140 -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea (0x)?0\(%esi\),%esi 0+140 : [ ]*[a-f0-9]+: 90 nop @@ -143,11 +136,9 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: eb 13 jmp 160 -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 90 nop +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d 74 26 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi 0+160 : [ ]*[a-f0-9]+: 90 nop @@ -162,9 +153,9 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 8d 74 26 00 lea (0x)?0\(%esi,%eiz,1\),%esi 0+180 : [ ]*[a-f0-9]+: 90 nop @@ -180,10 +171,9 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 90 nop +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 8d 76 00 lea (0x)?0\(%esi\),%esi 0+1a0 : [ ]*[a-f0-9]+: 90 nop @@ -200,9 +190,9 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax 0+1c0 : [ ]*[a-f0-9]+: 90 nop @@ -220,9 +210,9 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d 76 00 lea 0x0\(%esi\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 90 nop 0+1e0 : [ ]*[a-f0-9]+: 90 nop @@ -241,7 +231,6 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi #pass --- a/gas/testsuite/gas/i386/nops-4-i386.d +++ b/gas/testsuite/gas/i386/nops-4-i386.d @@ -2,247 +2,4 @@ #source: nops-4.s #objdump: -drw #name: i386 nops -mtune=i386 4 - -.*: +file format .* - -Disassembly of section .text: - -0+ : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: eb 1d jmp 20 -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 90 nop - -0+20 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: eb 1c jmp 40 -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - -0+40 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: eb 1b jmp 60 -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi - -0+60 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: eb 1a jmp 80 -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 90 nop - -0+80 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: eb 19 jmp a0 -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi - -0+a0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: eb 18 jmp c0 -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d 76 00 lea 0x0\(%esi\),%esi - -0+c0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: eb 17 jmp e0 -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+e0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: eb 16 jmp 100 -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 90 nop - -0+100 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: eb 15 jmp 120 -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - -0+120 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: eb 14 jmp 140 -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi - -0+140 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: eb 13 jmp 160 -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 90 nop - -0+160 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi - -0+180 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 90 nop - -0+1a0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi - -0+1c0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d 76 00 lea 0x0\(%esi\),%esi - -0+1e0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax -#pass +#dump: nops-4.d --- a/gas/testsuite/gas/i386/nops-4-i686.d +++ b/gas/testsuite/gas/i386/nops-4-i686.d @@ -2,247 +2,4 @@ #source: nops-4.s #objdump: -drw #name: i386 -mtune=i686 nops 4 - -.*: +file format .* - -Disassembly of section .text: - -0+ : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: eb 1d jmp 20 -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 90 nop - -0+20 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: eb 1c jmp 40 -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - -0+40 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: eb 1b jmp 60 -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi - -0+60 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: eb 1a jmp 80 -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 90 nop - -0+80 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: eb 19 jmp a0 -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi - -0+a0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: eb 18 jmp c0 -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d 76 00 lea 0x0\(%esi\),%esi - -0+c0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: eb 17 jmp e0 -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+e0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: eb 16 jmp 100 -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 90 nop - -0+100 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: eb 15 jmp 120 -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - -0+120 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: eb 14 jmp 140 -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi - -0+140 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: eb 13 jmp 160 -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 90 nop - -0+160 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi - -0+180 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 90 nop - -0+1a0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi - -0+1c0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d 76 00 lea 0x0\(%esi\),%esi - -0+1e0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax -#pass +#dump: nops-4.d --- a/gas/testsuite/gas/i386/nops-5.d +++ b/gas/testsuite/gas/i386/nops-5.d @@ -7,23 +7,23 @@ Disassembly of section .text: 0+ : [ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d 74 26 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi 0+10 : [ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d 74 26 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi 0+20 : [ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d 74 26 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi 0+30 : [ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d 74 26 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi 0+40 : [ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi @@ -47,8 +47,8 @@ Disassembly of section .text: 0+80 : [ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d 74 26 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi 0+90 : [ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi @@ -62,8 +62,8 @@ Disassembly of section .text: 0+b0 : [ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d 74 26 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi 0+c0 : [ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi --- a/gas/testsuite/gas/i386/nops-5-i686.d +++ b/gas/testsuite/gas/i386/nops-5-i686.d @@ -2,78 +2,4 @@ #source: nops-5.s #objdump: -drw #name: i386 -march=i686 nops 5 - -.*: +file format .* - -Disassembly of section .text: - -0+ : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi - -0+10 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi - -0+20 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi - -0+30 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi - -0+40 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0\(%eax,%eax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+50 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0\(%eax,%eax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+60 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0\(%eax,%eax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+70 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0\(%eax,%eax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+80 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi - -0+90 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0\(%eax,%eax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+a0 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0\(%eax,%eax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+b0 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi - -0+c0 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0\(%eax,%eax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+d0 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0\(%eax,%eax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax -#pass +#dump: nops-5.d --- a/gas/testsuite/gas/i386/nops-6.d +++ b/gas/testsuite/gas/i386/nops-6.d @@ -7,8 +7,8 @@ Disassembly of section .text: 0+ : [ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d 74 26 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi 0+10 : [ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi --- a/gas/testsuite/gas/i386/nops-7.d +++ b/gas/testsuite/gas/i386/nops-7.d @@ -8,163 +8,146 @@ Disassembly of section .text: 0+ <_start>: +[a-f0-9]+: 31 c0 xor %eax,%eax +[a-f0-9]+: e9 f9 01 00 00 jmp 200 - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[a-f0-9]+: 90 nop 0+200 : +[a-f0-9]+: 31 db xor %ebx,%ebx +[a-f0-9]+: e9 f9 00 00 00 jmp 300 - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 90 nop 0+300 : +[a-f0-9]+: 31 db xor %ebx,%ebx +[a-f0-9]+: eb 7c jmp 380 - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 90 nop 0+380 : +[a-f0-9]+: 31 c9 xor %ecx,%ecx +[a-f0-9]+: eb 3c jmp 3c0 - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi 0+3c0 : +[a-f0-9]+: 31 d2 xor %edx,%edx +[a-f0-9]+: eb 1c jmp 3e0 - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi - +[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi + +[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi 0+3e0 : +[a-f0-9]+: 31 ff xor %edi,%edi --- a/gas/testsuite/gas/i386/nops-9.d +++ b/gas/testsuite/gas/i386/nops-9.d @@ -7,19 +7,18 @@ Disassembly of section .text: 0+ : [ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d 74 26 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi 0+10 : [ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%esi\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d 74 26 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi 0+20 : [ ]*[a-f0-9]+: f3 0f b8 f0 popcnt %eax,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi -[ ]*[a-f0-9]+: 90 nop +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 lea %cs:(0x)?0\(%esi,%eiz,1\),%esi +[ ]*[a-f0-9]+: 8d 74 26 00 lea (0x)?0\(%esi,%eiz,1\),%esi 0+30 : [ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi --- a/gas/testsuite/gas/i386/nops16-1.d +++ b/gas/testsuite/gas/i386/nops16-1.d @@ -9,39 +9,35 @@ Disassembly of section .text: 0+ : [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: eb 1d jmp 20 +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si [ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 90 nop 0+20 : [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: eb 1c jmp 40 -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 8d 74 00 lea (0x)?0\(%si\),%si 0+40 : [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: eb 1b jmp 60 -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d 74 00 lea 0x0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 89 f6 mov %si,%si 0+60 : [ ]*[a-f0-9]+: 90 nop @@ -49,13 +45,12 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: eb 1a jmp 80 -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 89 f6 mov %si,%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 90 nop 0+80 : [ ]*[a-f0-9]+: 90 nop @@ -64,13 +59,11 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: eb 19 jmp a0 -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 90 nop +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si 0+a0 : [ ]*[a-f0-9]+: 90 nop @@ -80,12 +73,11 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: eb 18 jmp c0 -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 8d b4 00 00 lea (0x)?0\(%si\),%si 0+c0 : [ ]*[a-f0-9]+: 90 nop @@ -96,12 +88,11 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: eb 17 jmp e0 -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d 74 00 lea 0x0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 8d 74 00 lea (0x)?0\(%si\),%si 0+e0 : [ ]*[a-f0-9]+: 90 nop @@ -113,11 +104,10 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: eb 16 jmp 100 -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si [ ]*[a-f0-9]+: 89 f6 mov %si,%si 0+100 : @@ -131,11 +121,10 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: eb 15 jmp 120 -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si [ ]*[a-f0-9]+: 90 nop 0+120 : @@ -150,11 +139,10 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: eb 14 jmp 140 -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si 0+140 : [ ]*[a-f0-9]+: 90 nop @@ -169,11 +157,10 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: eb 13 jmp 160 -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d 74 00 lea 0x0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 8d b4 00 00 lea (0x)?0\(%si\),%si 0+160 : [ ]*[a-f0-9]+: 90 nop @@ -189,11 +176,10 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: eb 12 jmp 180 -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 89 f6 mov %si,%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 8d 74 00 lea (0x)?0\(%si\),%si 0+180 : [ ]*[a-f0-9]+: 90 nop @@ -210,11 +196,10 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: eb 11 jmp 1a0 -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 90 nop +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 89 f6 mov %si,%si 0+1a0 : [ ]*[a-f0-9]+: 90 nop @@ -232,10 +217,10 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: eb 10 jmp 1c0 -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 90 nop 0+1c0 : [ ]*[a-f0-9]+: 90 nop @@ -254,10 +239,9 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: eb 0f jmp 1e0 -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d 74 00 lea 0x0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si 0+1e0 : [ ]*[a-f0-9]+: 90 nop @@ -277,44 +261,39 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: eb 0e jmp 200 -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 89 f6 mov %si,%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 8d b4 00 00 lea (0x)?0\(%si\),%si 0+200 : [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: eb 0d jmp 210 -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 90 nop +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 8d 74 00 lea (0x)?0\(%si\),%si 0+210 : [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: eb 0c jmp 220 -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 8d b4 00 00 lea (0x)?0\(%si\),%si 0+220 : [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: eb 0b jmp 230 -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d 74 00 lea 0x0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 8d 74 00 lea (0x)?0\(%si\),%si 0+230 : [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: eb 0a jmp 240 -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si [ ]*[a-f0-9]+: 89 f6 mov %si,%si 0+240 : @@ -323,9 +302,9 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d 74 00 lea 0x0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 90 nop 0+250 : [ ]*[a-f0-9]+: 90 nop @@ -334,9 +313,8 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 89 f6 mov %si,%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si 0+260 : [ ]*[a-f0-9]+: 90 nop @@ -346,9 +324,8 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 90 nop +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 8d b4 00 00 lea (0x)?0\(%si\),%si 0+270 : [ ]*[a-f0-9]+: 90 nop @@ -359,8 +336,8 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 8d 74 00 lea (0x)?0\(%si\),%si 0+280 : [ ]*[a-f0-9]+: 90 nop @@ -372,8 +349,8 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 8d 74 00 lea 0x0\(%si\),%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 89 f6 mov %si,%si 0+290 : [ ]*[a-f0-9]+: 90 nop @@ -386,8 +363,8 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 89 f6 mov %si,%si +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si +[ ]*[a-f0-9]+: 90 nop 0+2a0 : [ ]*[a-f0-9]+: 90 nop @@ -401,8 +378,7 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop [ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si -[ ]*[a-f0-9]+: 90 nop +[ ]*[a-f0-9]+: 2e 8d b4 00 00 lea %cs:(0x)?0\(%si\),%si 0+2b0 : [ ]*[a-f0-9]+: 90 nop --- a/gas/testsuite/gas/i386/x86-64-nop-2.d +++ b/gas/testsuite/gas/i386/x86-64-nop-2.d @@ -1,79 +1,4 @@ #source: nop-2.s #objdump: -drw -Mi8086 #name: x86-64 .nops 2 - -.*: +file format .* - - -Disassembly of section .text: - -0+ : - +[a-f0-9]+: 90 nop - -0+1 : - +[a-f0-9]+: 90 nop - -0+2 : - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - -0+a : - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - -0+12 : - +[a-f0-9]+: eb 12 jmp 26 - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 89 f6 mov %si,%si - -0+26 : - +[a-f0-9]+: eb 1c jmp 44 - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - -0+44 : - +[a-f0-9]+: eb 7f jmp c5 - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d b4 00 00 lea 0x0\(%si\),%si - +[a-f0-9]+: 8d 74 00 lea 0x0\(%si\),%si - -0+c5 : - +[a-f0-9]+: 66 31 c0 xor %eax,%eax -#pass +#dump: nop-2.d --- a/gas/testsuite/gas/i386/x86-64-nops-5.d +++ b/gas/testsuite/gas/i386/x86-64-nops-5.d @@ -9,23 +9,23 @@ Disassembly of section .text: 0+ : [ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%rsi\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 cs lea (0x)?0\(%rsi,%riz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d 74 26 00 cs lea (0x)?0\(%rsi,%riz,1\),%esi 0+10 : [ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%rsi\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 cs lea (0x)?0\(%rsi,%riz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d 74 26 00 cs lea (0x)?0\(%rsi,%riz,1\),%esi 0+20 : [ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%rsi\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 cs lea (0x)?0\(%rsi,%riz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d 74 26 00 cs lea (0x)?0\(%rsi,%riz,1\),%esi 0+30 : [ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%rsi\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 cs lea (0x)?0\(%rsi,%riz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d 74 26 00 cs lea (0x)?0\(%rsi,%riz,1\),%esi 0+40 : [ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi @@ -49,8 +49,8 @@ Disassembly of section .text: 0+80 : [ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%rsi\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 cs lea (0x)?0\(%rsi,%riz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d 74 26 00 cs lea (0x)?0\(%rsi,%riz,1\),%esi 0+90 : [ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi @@ -64,8 +64,8 @@ Disassembly of section .text: 0+b0 : [ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%rsi\),%esi +[ ]*[a-f0-9]+: 2e 8d b4 26 00 00 00 00 cs lea (0x)?0\(%rsi,%riz,1\),%esi +[ ]*[a-f0-9]+: 2e 8d 74 26 00 cs lea (0x)?0\(%rsi,%riz,1\),%esi 0+c0 : [ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi --- a/gas/testsuite/gas/i386/x86-64-nops-5-k8.d +++ b/gas/testsuite/gas/i386/x86-64-nops-5-k8.d @@ -2,79 +2,4 @@ #source: nops-5.s #objdump: -drw #name: x86-64 -march=k8 nops 5 - -.*: +file format .* - - -Disassembly of section .text: - -0+ : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%rsi\),%esi - -0+10 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%rsi\),%esi - -0+20 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%rsi\),%esi - -0+30 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%rsi\),%esi - -0+40 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+50 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+60 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+70 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+80 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%rsi\),%esi - -0+90 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+a0 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+b0 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 8d b4 26 00 00 00 00 lea 0x0\(%rsi,%riz,1\),%esi -[ ]*[a-f0-9]+: 8d b6 00 00 00 00 lea 0x0\(%rsi\),%esi - -0+c0 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+d0 : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax -#pass +#dump: x86-64-nops-5.d From patchwork Wed Sep 27 15:52: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: 145438 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp2725038vqu; Wed, 27 Sep 2023 08:55:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH//EPQ0vChDxpzW+i+RJKTvPbvtdKLbXe6u/IM9s9AEaVeGDTxosH6/RTyFlGoOKvlfbdl X-Received: by 2002:a5d:594b:0:b0:321:55e6:9a12 with SMTP id e11-20020a5d594b000000b0032155e69a12mr2096070wri.6.1695830136731; Wed, 27 Sep 2023 08:55:36 -0700 (PDT) Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id ho17-20020a1709070e9100b009b281fb0812si9491868ejc.952.2023.09.27.08.55.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 08:55:36 -0700 (PDT) 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=u3OQYPDe; 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 B6E6138245B2 for ; Wed, 27 Sep 2023 15:52:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B6E6138245B2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1695829940; bh=Wwd4903piBQLK7LXJhTh1EIjffza2IuBys+XlD5CL5M=; h=Date:Subject:To:Cc:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=u3OQYPDe0+1xL2e1Dz6VsrCzo0m1usI/0q/0kv8fNRCnwpvtK7+OSX2mU+PR1JigI v+UPBNATqJTx7ZUXoE21aAIxq4zyg19j9F1OBZOzWS6GqqVhaeKmkTV8bLKEGo6Zko 3VJiBv4R6k+G/fwX9Svx/9zI/jxOxgp2svYS8pXI= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2060.outbound.protection.outlook.com [40.107.20.60]) by sourceware.org (Postfix) with ESMTPS id 61FBC3827986 for ; Wed, 27 Sep 2023 15:52:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 61FBC3827986 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eoNP0JK1OSiL02G4O6VSRPX77xylmg3SNX7MTyAUccqhtV/gCTiIOY8NUvUutYaBIXFc2+6rJ0HYvUSFvoKChkVKRj5MU4PuHOlOxrBP9QzTmjoSm6yKjClpvWaEdKyA9v1KT07B9+0Jgn6/y6mdRhYGcdDd8AsXO3g8UlYSPqNCdHB5e7+fP2Ruh5CXw349oTJDqzUls/CyO6XSbkPd9vlrvhEm3MJl5mB029dwD55fTBGJTsSCXrvpzE867g0ifljtVXAzl7fhTryvSpZE4YX26Zh2rmlTI+9PQs9HDKQJKvZajLxqDRChVe5tT183NAsx9EICrxtbzai4xd3Vpg== 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=Wwd4903piBQLK7LXJhTh1EIjffza2IuBys+XlD5CL5M=; b=kZBuSsGlX48DyP7Y4oLTomR7hQlBEa02tY50t3i5miGtWfy5eDKUv7QQxBRYpQgV+EJjqh4zdWBftrSGplawsSBFkclnXF55qPnukyc2IeMqofIMYPDaQ1/xj6LdY8m3xi/RMsPfG6b3gm7Xi21v+1s91rj/Vj9ud98lKE0ssZzSzJAJCMrVYjUg/g+kvsdD/73dinBdCb17MMF2eD+MxGPcGW5RAbtaWYFK/FL6RFhrYcOF8fy/laiXGlZ26YFVJf1ZG579gbiPXs/R2+Fo0uD6Nb3pNijJuAd42+wCaDHEhBomI73N7Ik8DYyz0jPWCde15j7WOZ6FbUlH1vFKTQ== 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 PAXPR04MB9138.eurprd04.prod.outlook.com (2603:10a6:102:22d::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.28; Wed, 27 Sep 2023 15:52:10 +0000 Received: from AS8PR04MB8788.eurprd04.prod.outlook.com ([fe80::afae:3fda:c84d:bcdc]) by AS8PR04MB8788.eurprd04.prod.outlook.com ([fe80::afae:3fda:c84d:bcdc%7]) with mapi id 15.20.6838.016; Wed, 27 Sep 2023 15:52:10 +0000 Message-ID: Date: Wed, 27 Sep 2023 17:52:08 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: [PATCH 09/11] x86: fold a few of the "alternative" NOP patterns Content-Language: en-US To: Binutils Cc: "H.J. Lu" References: <7ce54bc2-fef2-d2e4-21fd-202fdead0c20@suse.com> In-Reply-To: <7ce54bc2-fef2-d2e4-21fd-202fdead0c20@suse.com> X-ClientProxiedBy: FR3P281CA0192.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a4::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_|PAXPR04MB9138:EE_ X-MS-Office365-Filtering-Correlation-Id: c2864032-7aa0-4a6c-1a28-08dbbf71b5e1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6r7dWCs/ISzbc4OSx2LHsaKGU6Tith89lYoZzOoFoQk2n273Y98uA3Ro6AKrp2pBSQmsFi7TKfTX4rzheQTRmGOzXpH9FYe2ZGCvyi/sBCzmhm5dvOSkx2d+IMFShPcbJE9Ip61wtDorEez/6hzvdcsmjc66Odr5MD1v7TPAaiaRxSlSgXNu3fVJc/X4W6u0NSv2oD/IfvWY1wX+MMMRMzAGlfzgG6Qj/ZH6zLgUFeqcSeKbEJFATuxm/NlH7wCFNT4i8g1kfDJO/DSNpPRUmwfRh04ZZx3dJSrQhUigPoeR6haKaKFi+Ocu5MDbzZ9mDvfwyyXmwe0meRW9ksM364QwOgy9Z43ZK3uIJ1K/Zcv9VROqdgZPc/CR9r6sM1KHktP8Ha3NdcQUpfMFHWWNE2U2W+zJj7TRjNyaFeehYgPdcAMSrXrUn8Lj8Qbfni3GWKFu4UDeiw2F55L3hLu2AAuLyxhUmJ6+qEOA2L0cVF7JlJnMWYhA6u9BC2Eps4Ysb7ncqrt0lGCuHSGta5A5Nx6WCoqqm0tvBbkhHWivQHwNGvdAtmUn/LyAekNZdJN5xUqPuh4VDUi4Ny6rXi/TV6TpXx6Q6busw4L8Sjdg7PE+IaB4XPQeqpQUQBrulR8jkUTMRnypwVuv5hpP3yTEhA== 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:(13230031)(136003)(396003)(346002)(366004)(376002)(39860400002)(230922051799003)(1800799009)(451199024)(186009)(6512007)(6506007)(2616005)(8936002)(26005)(2906002)(478600001)(4326008)(66556008)(66476007)(6916009)(66946007)(316002)(5660300002)(41300700001)(8676002)(36756003)(31696002)(6486002)(38100700002)(86362001)(31686004)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?t312LwyCD9/9CI1A2OzfB6YP10Bx?= =?utf-8?q?ekJkBJC6CN06h1L1KFNpII5YR/GCeebeGXJLhPDC0tanFTkiOYSwWiVCN42ocoJlT?= =?utf-8?q?ChIhkXPKDMCzsJ2jlL8U93COji70lB+JuZFznz++JZeaM9cbO07ms5ayvIqomRsT0?= =?utf-8?q?DC72CCASlIS/zKB0SuovzgyKH91ncedZpNkqhg0O7k7MdzEZCebCqca82EprZFxM8?= =?utf-8?q?LFRFKHH40gHpCPXn4HzILN+hCksAzMU+1sUAFWF1gEDwbgh13sVwfTQT2mI26DMom?= =?utf-8?q?IB9A0FyoAfPJ80E9Aat3BqaRMR/CfW9Jkyi+xtMeWB+TKk7/piY2eP1Ka2nJ8jC1E?= =?utf-8?q?o2ou7KmHEX+r4CiYN7kChL1jR0KcaPS50rKqa7CGFray+W+KM8Cbtry1X82NQZoje?= =?utf-8?q?q4dfixMJHKf4wt/MI3bABz71RUVotT3MPb3E8u7Ip4KGZpEBaCHxhPEQZAeoVKEAa?= =?utf-8?q?OQyvY9N8qDz+mhqfVXVawkkdp1fhEsnnmpb5HyosT7YXQB7hpfRINy5db+qmvTjVu?= =?utf-8?q?hpIWl0swxzWxVN0ekqU7xTZ1GHRfwrkL8m+EB0vl1g66Bvi07GhLayEvrssol5ZY1?= =?utf-8?q?L2pcDaXdc70H9zdRhtI45RXH/iSa4HDeYRApyTYnhu3piYnXjJR7VlpagjrEgy8qm?= =?utf-8?q?AKhVOExWTLEukwM0EEm2n3hgL1vNEhnYQxPiKPTFqUaGOo24zXOsjzLDScgHdhAyK?= =?utf-8?q?BGSeXnocg+A7V4oflWQyDtntjU2G1MTauEpK84AOpZyGZz3e6moMbyF61tyjs2nyz?= =?utf-8?q?yC8vOrOcd6Ol7S8fPL044FzmlcaCGroDqJfDnrPlQueK1WjXuQc/uPFfAhx6tipkW?= =?utf-8?q?BiuIard8glFSAqqAH3prifcKsYsFR+OUzUgVrL+4sENEgSfxalN6uuQfee3RoEpPa?= =?utf-8?q?WzOrU9sW8UO+OCcKrQLiDti8zUa7Fsms1VWv84VpKj3RwJ6w6TPIWuXko6ejZ2G++?= =?utf-8?q?hqLoWQw61w/a3DmOKC2ug0bokqKwYzCYgqInKaHBLfLVU+MtekPRFjvDYgmwxH39P?= =?utf-8?q?WQIhZeUCdptV08rdlrQeaD/j5PYJCV81wsRz0fJ7cHPN4Ia74aIsGnNo+F+oN45XO?= =?utf-8?q?a/dJK3cfX2NGIfr08Y0C/l/6n/RzENOA+6yBg33mqjAts1UjrFAMdfLhZpC1rtWRP?= =?utf-8?q?iu1phLIt1yJkXO8FJgCfhSJjcwOdfQ9UA5TTff1Wx7eOUXr9mnS+6yVwPD/uzhDt/?= =?utf-8?q?6GnMS3hLwDGvVs7qV04gP+gLsNZTRYPooGQXvFk5xq+mQB7DY5KFcT+QRx+557Ndw?= =?utf-8?q?b04TVBYk2SZAkqaKVnnLk+8zcpLOnAp5suXunvPefl6TSsRlPjSEMs2fCVWocJHSM?= =?utf-8?q?Uyi3EBwguUK8uf51FHl0riZjFsBXKOd5rwmot/yfwHlJVX8v1qKn2nWSjIoI9qPIl?= =?utf-8?q?JMoUpkzkTu7TIUQV+sFioBULdN2pEVswZbrfb39cOQ/cxBp5D1pTUGO65ZKoD9Bam?= =?utf-8?q?A9ILSWxmYWY+Y1NRHC43E5A6F7k7xbTtCzOAScPFaKddCKk9Ju7LlsQcZ1MRztdv4?= =?utf-8?q?YDy9nuZq0CSx?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: c2864032-7aa0-4a6c-1a28-08dbbf71b5e1 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8788.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Sep 2023 15:52:10.7587 (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: jx7fB0DHHNq4ausQkRYOAzNIpWxsnxK1NrncOMUehejRYsh97dUPuwkhSFaXkYKzxX+CVI38s6T16OplRbLXwg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9138 X-Spam-Status: No, score=-3026.8 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.30 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: INBOX X-GMAIL-THRID: 1778206781221441796 X-GMAIL-MSGID: 1778206781221441796 Since named objects may not overlap, the compiler is not permitted to do this for us, to avoid wasting space and cache bandwidth/capacity. --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -1324,8 +1324,7 @@ static const unsigned char alt_3[] = static const unsigned char alt_4[] = {0x0f,0x1f,0x40,0x00}; /* nopl 0(%[re]ax,%[re]ax,1) */ -static const unsigned char alt_5[] = - {0x0f,0x1f,0x44,0x00,0x00}; +#define alt_5 (alt_6 + 1) /* nopw 0(%[re]ax,%[re]ax,1) */ static const unsigned char alt_6[] = {0x66,0x0f,0x1f,0x44,0x00,0x00}; @@ -1333,14 +1332,12 @@ static const unsigned char alt_6[] = static const unsigned char alt_7[] = {0x0f,0x1f,0x80,0x00,0x00,0x00,0x00}; /* nopl 0L(%[re]ax,%[re]ax,1) */ -static const unsigned char alt_8[] = - {0x0f,0x1f,0x84,0x00,0x00,0x00,0x00,0x00}; +#define alt_8 (alt_9 + 1) /* nopw 0L(%[re]ax,%[re]ax,1) */ static const unsigned char alt_9[] = {0x66,0x0f,0x1f,0x84,0x00,0x00,0x00,0x00,0x00}; /* nopw %cs:0L(%[re]ax,%[re]ax,1) */ -static const unsigned char alt_10[] = - {0x66,0x2e,0x0f,0x1f,0x84,0x00,0x00,0x00,0x00,0x00}; +#define alt_10 (alt_11 + 1) /* data16 nopw %cs:0L(%eax,%eax,1) */ static const unsigned char alt_11[] = {0x66,0x66,0x2e,0x0f,0x1f,0x84,0x00,0x00,0x00,0x00,0x00}; From patchwork Wed Sep 27 15:52:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 145440 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp2725652vqu; Wed, 27 Sep 2023 08:56:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEYtFu/pmIFixC2TUUpNXgn1tGm7tUHdIsGh4j4sKC6XdUZ3fpOjZZCRvHE0wSkAgWNS3aZ X-Received: by 2002:a17:906:18:b0:9ae:375f:bf00 with SMTP id 24-20020a170906001800b009ae375fbf00mr2346344eja.62.1695830199195; Wed, 27 Sep 2023 08:56:39 -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 r18-20020a170906705200b00992f8116abdsi13913017ejj.480.2023.09.27.08.56.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 08:56:39 -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=bwRzWYDF; 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 5726D3882640 for ; Wed, 27 Sep 2023 15:53:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5726D3882640 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1695829980; bh=cspnTPENB9hdu/a70l+s9XiMC5Wxh4ZHINr3hD1XIhM=; h=Date:Subject:To:Cc:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=bwRzWYDF1+durfuwWdikes4gwAkQ/RkG06c9yr1VzdI61qG+NU5dntsW6ciCsm7B8 CuTRwlK+SZGO3Z6vSIkd3zvm7MSP+Tu0Etny/Q1WZqRk96BhXGU/qOnn/il1SNtxV6 PlwRaU+SQyhCllqQ1KXRcmRhSI+2DXzYeuTHWKSY= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2076.outbound.protection.outlook.com [40.107.20.76]) by sourceware.org (Postfix) with ESMTPS id AC0CF3888C4B for ; Wed, 27 Sep 2023 15:52:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AC0CF3888C4B ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=geIWKsS04Hunxlar/4DzlUFeiUdESjDvd/xatPdbve7j/39xBQvBH21TM94ZqO6OwCqzkoC00RG0dLKNs9onOBAyDbFITKQwyZyNk68IBvqCabKhCdPft8I+qgykFoN/LVAmj03Rx9PaTs9YcQ9B9G6aSnJtOC+qfpsXAL9xdFzZgf1JSLVuqMofdESx9bdoSZ2RpRY+Xe4fb+NQN+nAxIFe+5mSSobzcj0RO66oa65oX6nzCPicQFGGCKrudKQj3fa1Q/VDVrAVfrtb8EDYglvTRhXk+m4viqvWJfu1/8tORJ8VsakGSllFpSkZveLLlhBUjrJKJAjRlECmPTDmXA== 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=cspnTPENB9hdu/a70l+s9XiMC5Wxh4ZHINr3hD1XIhM=; b=ao5VNnpbSOIlGvlVmLCMVr/FHrwUuZuo7A9gr1IRYGe4NKGZanrerFsOIP1QY/jGVJAjM9cYM65RwgzokMNfzNCyedbmWlRZK9h/I63M2QQX3k75mPJ5N1cEWectQmlY2wSFvEiyIvEnVeExi2cHzwNIb1JEffmsf441aC3QBMM/QYmj4a+0ihKijaSq+DnL+folbmafmtsZP19mIZjJFVv4Gy3viAl70me3W4LaEjZ9YmSazco7icI40iwc55kBo1alJF4dOS7jXA3dpDvZ+Mbpp54FrHeHUI8SKeczLzeu8Jawgptqe5S26OOF6r+nsleOuKKDwP9vZiuzOYeCsQ== 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 PAXPR04MB9138.eurprd04.prod.outlook.com (2603:10a6:102:22d::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.28; Wed, 27 Sep 2023 15:52:42 +0000 Received: from AS8PR04MB8788.eurprd04.prod.outlook.com ([fe80::afae:3fda:c84d:bcdc]) by AS8PR04MB8788.eurprd04.prod.outlook.com ([fe80::afae:3fda:c84d:bcdc%7]) with mapi id 15.20.6838.016; Wed, 27 Sep 2023 15:52:42 +0000 Message-ID: Date: Wed, 27 Sep 2023 17:52:40 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: [PATCH 10/11] x86: fold NOP testcase expectations where possible Content-Language: en-US To: Binutils Cc: "H.J. Lu" References: <7ce54bc2-fef2-d2e4-21fd-202fdead0c20@suse.com> In-Reply-To: <7ce54bc2-fef2-d2e4-21fd-202fdead0c20@suse.com> X-ClientProxiedBy: FR0P281CA0076.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:1e::6) To AS8PR04MB8788.eurprd04.prod.outlook.com (2603:10a6:20b:42f::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8788:EE_|PAXPR04MB9138:EE_ X-MS-Office365-Filtering-Correlation-Id: 94f97ca6-f38f-4db1-a005-08dbbf71c8f0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: hsHObI5lYTlJNl4e77DK/0CYH0TjhXdFAPSwsIcfnCxumv6uEFytlfVcKQE6etfILMSIzaEBFQtQf7BKuFa3twVnNSSI2Xo7DDiuFc8pxHNW90XmoC135sJSyjwizHXZlKs9ZPHg5gIedH57lyygCnHNReWUogR6Z/V6hAaM/HrZkEnMNX8MFob9qTfw/MhboDRxojjs0rRR8rdDRQaVwM4Ww+E131RS2mEllvolb3xqiz33wxSqGu9YVqzhe9XK9rnADxzSsjAkbYGHjbGYH3My01c4wRfyVmq8WYiRwcBPDiANc/6Z/51oSZZvl5EJO2bIQfrqUXsMwigYDqp6a600LDor4FHOM/IC5ufldLqOAzgixeMJ3Un+UM2S/w9jTyu0VZBRSr6L83k//EP98Ln8q8YOs0a4sCJNIIM3JA5uLfdI5I8+bidtLfsyci3x4GSyKZDR7oyWssvmODupKMWWRDk9Usz+ceu9kp/qm/fCQnHDJT/YoCQuWlhUGloMY4wFpaFuVi5MtWVN0ZlJUCVXTXk24W9PWWMmoUzTezLkyhQj5nKm+gBu0KABytuNr/Jc5N4GnlnZBA2gQWJCeGCOiaiYavmcoLsaSe6oCa/usFdEMWsB0j2geNLmsZEgdFkCWYkyPT/wo5fVx+f36Q== 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:(13230031)(136003)(396003)(346002)(366004)(376002)(39860400002)(230922051799003)(1800799009)(451199024)(186009)(6512007)(6506007)(2616005)(8936002)(26005)(2906002)(478600001)(4326008)(66556008)(66476007)(6916009)(66946007)(316002)(5660300002)(41300700001)(8676002)(30864003)(36756003)(31696002)(6486002)(38100700002)(86362001)(31686004)(43740500002)(45980500001)(559001)(579004); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?2PjzHBhsuTrj5F/kmW4DV/8g826n?= =?utf-8?q?hbmGfFN22/WwrQxYZL824Lsxtvj4t4KRIwONmIr2sE4GLTK9OFAfMTEC4Z5Sc7pQJ?= =?utf-8?q?8CaE5Wp2gZ2O7J1vfL/mRYTAAXrG+sgRqV1evnkddMtyUey1P3kDa41hO4xCJJhs4?= =?utf-8?q?0W6S32sS7/N/dSxgSHOnjrEasFrR/fZDU0riHWB0VJusE+tPxXgqF4ydD5UrV/84n?= =?utf-8?q?T0XjbtICCri6wMb5vjb3CbMbJ6KP6fduiX7gtSGhEs5h+juY3oGEHt6szz+jY//+L?= =?utf-8?q?3SllRU07J6ps4sunTeBFp9+EAmiWRScHwxZtw94fO2qS323HnPHHv6cgQC9zT2b4j?= =?utf-8?q?zJJT9dHUGp9Per4kg4kluR9vOyXSgCK0gaTj62C+71sUSN/1aTYnOXuL//rxXqy2u?= =?utf-8?q?2S3jKNEExA+k5OlFtPoR8xshDIN+R5v0qy+gF7ePMfLpVitHswAI5T04T3GlS6l1L?= =?utf-8?q?URDlpJmZK5uQ+AC0wmUAekCzhXvv5fPyY3tW0P32hXVP+haDexRk9Gr8Q8w2vRtIO?= =?utf-8?q?RBbjE+Sh9D4EoOyfKnOwyS4USFkJtdWp51HEMoO9gY3rR8dd1cUxSqvN+zvcKCoQ1?= =?utf-8?q?EwGGdrrjA9dM33ysf4A5M/CduIe523tmBymaCEUCnZLXEN6OF3Oni5z2Ilfli4ifV?= =?utf-8?q?Fkw43JjdJy655qhmmX4BmPc0GMl4w8B+NoBHyHTZbRSAl+sNQPYnZcjrZkOTO0/jj?= =?utf-8?q?VpMz7kj4FDsD9piWi1uqx0XIdB9dxycbhunNwUXjdVA9V8r4VcH1X7TwMNSJ4P920?= =?utf-8?q?dmo4IgQKLDbWPdAre8g+A6sN3AC47nwD20UZHhbJj8p5WE0iLrMdCXozFJ3GNgatZ?= =?utf-8?q?VdYUvNRfaaM3pUgTAKWIA7Iya3S3dJgyuT13KRR74/vP3byR1Z6uYG5+1RTkZDa5a?= =?utf-8?q?Fe+zh4dbYxhsjNFpBrndUCko689Q9q2wFubqfFE3ktOrL9piEaGovRFtcTCQNU6zk?= =?utf-8?q?gTkhU6wFahhAr2GugVT4OJR8t+wZSonLqCL9xQnOyG9ii29mjwCymMGUtWMvaLRXo?= =?utf-8?q?tsUxy5hbKioer8gnfclBSH0k4xFwADqq6vMoqga8IYw1aS3TcULaty+k4QEefMWAF?= =?utf-8?q?hDgvfJmWyMdL3hFNZJbVyozBWoinznurrIjezeCyna0FHz4XticmsuVyT8/tD4FyP?= =?utf-8?q?p/aIfag1nnf20wZb9dozMKGp8yDen8G+xHrieItzSdAS9WuEpnTK2k6AdSfGDhqVp?= =?utf-8?q?QQPC/55BJxDsyrbMXRK1UxpzuVGePUx57D3Wcf51fdyxFH+0OVycJoPZWfZrHE+39?= =?utf-8?q?20ZygUcMBQtEnHcKxZ3/NbjZ/Kp/lpGi4Wa+i4os+ZzTMpMRi7wVpKPdjrUM928N9?= =?utf-8?q?Z6vf5wkHxSgUh/oxeoEEXNuSFm5AnvhAUU7uxc9ca1CftTaF4Nd8TGACRNo8xsLlB?= =?utf-8?q?urApRRiCMK7vPbzyAdFWHWy+sPtOa6Tp0DhiB267pqjKRGnpC35OKGkwXL6aROXmP?= =?utf-8?q?0h0cwVebO2dX8U9PViocg4JCSFli2V1YNl83TrAqZBSCVdUA1znOaDUiKuXmf92aF?= =?utf-8?q?I8He+ky+xq9o?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 94f97ca6-f38f-4db1-a005-08dbbf71c8f0 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8788.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Sep 2023 15:52:42.7938 (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: ecveCp5yMpCBXR5IrQuGov7WXBGVdRSV6XXC1ccyW7MvdYOt7eJjK0A0gdLCjo8mrw345j83koQGE7UQrG8SnA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9138 X-Spam-Status: No, score=-3026.8 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.30 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: INBOX X-GMAIL-THRID: 1778206846810928344 X-GMAIL-MSGID: 1778206846810928344 Like done earlier for files needing adjustment anyway, also do this for the remaining set. --- a/gas/testsuite/gas/i386/ilp32/x86-64-nops-1-core2.d +++ b/gas/testsuite/gas/i386/ilp32/x86-64-nops-1-core2.d @@ -2,159 +2,4 @@ #as: -mtune=core2 #objdump: -drw #name: x86-64 (ILP32) -mtune=core2 nops 1 - -.*: +file format .* - -Disassembly of section .text: - -0+ : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%rax\) - -0+10 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 00 nopl \(%rax\) - -0+20 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+30 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 90 nop - -0+40 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) - -0+50 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 2e 0f 1f 84 00 00 00 00 00 cs nopw 0x0\(%rax,%rax,1\) - -0+60 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 0f 1f 84 00 00 00 00 00 nopw 0x0\(%rax,%rax,1\) - -0+70 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 84 00 00 00 00 00 nopl 0x0\(%rax,%rax,1\) - -0+80 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 80 00 00 00 00 nopl 0x0\(%rax\) - -0+90 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 0f 1f 44 00 00 nopw 0x0\(%rax,%rax,1\) - -0+a0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\) - -0+b0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%rax\) - -0+c0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 00 nopl \(%rax\) - -0+d0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax -#pass +#dump: ../x86-64-nops-1.d --- a/gas/testsuite/gas/i386/ilp32/x86-64-nops-1-k8.d +++ b/gas/testsuite/gas/i386/ilp32/x86-64-nops-1-k8.d @@ -2,159 +2,4 @@ #as: -mtune=k8 #objdump: -drw #name: x86-64 (ILP32) -mtune=k8 nops 1 - -.*: +file format .* - -Disassembly of section .text: - -0+ : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%rax\) - -0+10 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 00 nopl \(%rax\) - -0+20 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+30 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 90 nop - -0+40 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) - -0+50 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 2e 0f 1f 84 00 00 00 00 00 cs nopw 0x0\(%rax,%rax,1\) - -0+60 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 0f 1f 84 00 00 00 00 00 nopw 0x0\(%rax,%rax,1\) - -0+70 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 84 00 00 00 00 00 nopl 0x0\(%rax,%rax,1\) - -0+80 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 80 00 00 00 00 nopl 0x0\(%rax\) - -0+90 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 0f 1f 44 00 00 nopw 0x0\(%rax,%rax,1\) - -0+a0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\) - -0+b0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%rax\) - -0+c0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 00 nopl \(%rax\) - -0+d0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax -#pass +#dump: ../x86-64-nops-1.d --- a/gas/testsuite/gas/i386/ilp32/x86-64-nops-1.d +++ b/gas/testsuite/gas/i386/ilp32/x86-64-nops-1.d @@ -2,159 +2,4 @@ #as: -mtune=generic64 #objdump: -drw #name: x86-64 (ILP32) nops 1 - -.*: +file format .* - -Disassembly of section .text: - -0+ : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%rax\) - -0+10 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 00 nopl \(%rax\) - -0+20 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+30 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 90 nop - -0+40 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) - -0+50 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 2e 0f 1f 84 00 00 00 00 00 cs nopw 0x0\(%rax,%rax,1\) - -0+60 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 0f 1f 84 00 00 00 00 00 nopw 0x0\(%rax,%rax,1\) - -0+70 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 84 00 00 00 00 00 nopl 0x0\(%rax,%rax,1\) - -0+80 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 80 00 00 00 00 nopl 0x0\(%rax\) - -0+90 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 0f 1f 44 00 00 nopw 0x0\(%rax,%rax,1\) - -0+a0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\) - -0+b0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%rax\) - -0+c0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 00 nopl \(%rax\) - -0+d0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax -#pass +#dump: ../x86-64-nops-1.d --- a/gas/testsuite/gas/i386/ilp32/x86-64-nops-2.d +++ b/gas/testsuite/gas/i386/ilp32/x86-64-nops-2.d @@ -2,164 +2,4 @@ #as: -mtune=generic64 #objdump: -drw #name: x86-64 (ILP32) nops 2 - -.*: +file format .* - -Disassembly of section .text: - -0+ : -[ ]*[a-f0-9]+: 0f be f0 movsbl %al,%esi -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+10 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%rax\) - -0+20 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 00 nopl \(%rax\) - -0+30 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+40 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 90 nop - -0+50 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) - -0+60 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 2e 0f 1f 84 00 00 00 00 00 cs nopw 0x0\(%rax,%rax,1\) - -0+70 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 0f 1f 84 00 00 00 00 00 nopw 0x0\(%rax,%rax,1\) - -0+80 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 84 00 00 00 00 00 nopl 0x0\(%rax,%rax,1\) - -0+90 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 80 00 00 00 00 nopl 0x0\(%rax\) - -0+a0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 0f 1f 44 00 00 nopw 0x0\(%rax,%rax,1\) - -0+b0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\) - -0+c0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%rax\) - -0+d0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 00 nopl \(%rax\) - -0+e0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax -#pass +#dump: ../x86-64-nops-2.d --- a/gas/testsuite/gas/i386/ilp32/x86-64-nops-3.d +++ b/gas/testsuite/gas/i386/ilp32/x86-64-nops-3.d @@ -2,17 +2,4 @@ #as: -mtune=generic64 #objdump: -drw #name: x86-64 (ILP32) nops 3 - -.*: +file format .* - -Disassembly of section .text: - -0+ : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 0f 1f 84 00 00 00 00 00 nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 89 c3 mov %eax,%ebx -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 00 nopl \(%rax\) -#pass +#dump: ../x86-64-nops-3.d --- a/gas/testsuite/gas/i386/ilp32/x86-64-nops-4-core2.d +++ b/gas/testsuite/gas/i386/ilp32/x86-64-nops-4-core2.d @@ -2,217 +2,4 @@ #as: -mtune=core2 #objdump: -drw #name: x86-64 (ILP32) nops -mtune=core2 4 - -.*: +file format .* - -Disassembly of section .text: - -0+ : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 0f 1f 84 00 00 00 00 00 nopw 0x0\(%rax,%rax,1\) - -0+20 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 84 00 00 00 00 00 nopl 0x0\(%rax,%rax,1\) - -0+40 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 80 00 00 00 00 nopl 0x0\(%rax\) - -0+60 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 0f 1f 44 00 00 nopw 0x0\(%rax,%rax,1\) - -0+80 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\) - -0+a0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%rax\) - -0+c0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 00 nopl \(%rax\) - -0+e0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+100 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 90 nop - -0+120 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) - -0+140 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 2e 0f 1f 84 00 00 00 00 00 cs nopw 0x0\(%rax,%rax,1\) - -0+160 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 0f 1f 84 00 00 00 00 00 nopw 0x0\(%rax,%rax,1\) - -0+180 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 84 00 00 00 00 00 nopl 0x0\(%rax,%rax,1\) - -0+1a0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 80 00 00 00 00 nopl 0x0\(%rax\) - -0+1c0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 0f 1f 44 00 00 nopw 0x0\(%rax,%rax,1\) - -0+1e0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\) -#pass +#dump: ../x86-64-nops-4.d --- a/gas/testsuite/gas/i386/ilp32/x86-64-nops-4-k8.d +++ b/gas/testsuite/gas/i386/ilp32/x86-64-nops-4-k8.d @@ -2,217 +2,4 @@ #as: -mtune=k8 #objdump: -drw #name: x86-64 (ILP32) nops -mtune=k8 4 - -.*: +file format .* - -Disassembly of section .text: - -0+ : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 0f 1f 84 00 00 00 00 00 nopw 0x0\(%rax,%rax,1\) - -0+20 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 84 00 00 00 00 00 nopl 0x0\(%rax,%rax,1\) - -0+40 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 80 00 00 00 00 nopl 0x0\(%rax\) - -0+60 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 0f 1f 44 00 00 nopw 0x0\(%rax,%rax,1\) - -0+80 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\) - -0+a0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%rax\) - -0+c0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 00 nopl \(%rax\) - -0+e0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+100 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 90 nop - -0+120 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) - -0+140 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 2e 0f 1f 84 00 00 00 00 00 cs nopw 0x0\(%rax,%rax,1\) - -0+160 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 0f 1f 84 00 00 00 00 00 nopw 0x0\(%rax,%rax,1\) - -0+180 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 84 00 00 00 00 00 nopl 0x0\(%rax,%rax,1\) - -0+1a0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 80 00 00 00 00 nopl 0x0\(%rax\) - -0+1c0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 0f 1f 44 00 00 nopw 0x0\(%rax,%rax,1\) - -0+1e0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\) -#pass +#dump: ../x86-64-nops-4.d --- a/gas/testsuite/gas/i386/ilp32/x86-64-nops-4.d +++ b/gas/testsuite/gas/i386/ilp32/x86-64-nops-4.d @@ -2,217 +2,4 @@ #as: -mtune=generic64 #objdump: -drw #name: x86-64 (ILP32) nops 4 - -.*: +file format .* - -Disassembly of section .text: - -0+ : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 0f 1f 84 00 00 00 00 00 nopw 0x0\(%rax,%rax,1\) - -0+20 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 84 00 00 00 00 00 nopl 0x0\(%rax,%rax,1\) - -0+40 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 80 00 00 00 00 nopl 0x0\(%rax\) - -0+60 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 0f 1f 44 00 00 nopw 0x0\(%rax,%rax,1\) - -0+80 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\) - -0+a0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%rax\) - -0+c0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 00 nopl \(%rax\) - -0+e0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+100 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 90 nop - -0+120 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) - -0+140 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 2e 0f 1f 84 00 00 00 00 00 cs nopw 0x0\(%rax,%rax,1\) - -0+160 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 0f 1f 84 00 00 00 00 00 nopw 0x0\(%rax,%rax,1\) - -0+180 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 84 00 00 00 00 00 nopl 0x0\(%rax,%rax,1\) - -0+1a0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 80 00 00 00 00 nopl 0x0\(%rax\) - -0+1c0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 0f 1f 44 00 00 nopw 0x0\(%rax,%rax,1\) - -0+1e0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\) -#pass +#dump: ../x86-64-nops-4.d --- a/gas/testsuite/gas/i386/nops-1-k8.d +++ b/gas/testsuite/gas/i386/nops-1-k8.d @@ -2,159 +2,4 @@ #source: nops-1.s #objdump: -drw #name: i386 -mtune=k8 nops 1 - -.*: +file format .* - -Disassembly of section .text: - -0+ : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0\(%eax,%eax,1\) -[ ]*[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%eax\) - -0+10 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0\(%eax,%eax,1\) -[ ]*[a-f0-9]+: 0f 1f 00 nopl \(%eax\) - -0+20 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0\(%eax,%eax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+30 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0\(%eax,%eax,1\) -[ ]*[a-f0-9]+: 90 nop - -0+40 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0\(%eax,%eax,1\) - -0+50 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 2e 0f 1f 84 00 00 00 00 00 nopw %cs:0x0\(%eax,%eax,1\) - -0+60 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 0f 1f 84 00 00 00 00 00 nopw 0x0\(%eax,%eax,1\) - -0+70 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 84 00 00 00 00 00 nopl 0x0\(%eax,%eax,1\) - -0+80 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 80 00 00 00 00 nopl 0x0\(%eax\) - -0+90 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 0f 1f 44 00 00 nopw 0x0\(%eax,%eax,1\) - -0+a0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%eax,%eax,1\) - -0+b0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%eax\) - -0+c0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 00 nopl \(%eax\) - -0+d0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax -#pass +#dump: nops-1-core2.d --- a/gas/testsuite/gas/i386/x86-64-nops-1-core2.d +++ b/gas/testsuite/gas/i386/x86-64-nops-1-core2.d @@ -2,160 +2,4 @@ #source: nops-1.s #objdump: -drw #name: x86-64 -mtune=core2 nops 1 - -.*: +file format .* - - -Disassembly of section .text: - -0+ : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%rax\) - -0+10 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 00 nopl \(%rax\) - -0+20 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+30 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 90 nop - -0+40 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) - -0+50 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 2e 0f 1f 84 00 00 00 00 00 cs nopw 0x0\(%rax,%rax,1\) - -0+60 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 0f 1f 84 00 00 00 00 00 nopw 0x0\(%rax,%rax,1\) - -0+70 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 84 00 00 00 00 00 nopl 0x0\(%rax,%rax,1\) - -0+80 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 80 00 00 00 00 nopl 0x0\(%rax\) - -0+90 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 0f 1f 44 00 00 nopw 0x0\(%rax,%rax,1\) - -0+a0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\) - -0+b0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%rax\) - -0+c0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 00 nopl \(%rax\) - -0+d0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax -#pass +#dump: x86-64-nops-1.d --- a/gas/testsuite/gas/i386/x86-64-nops-1-g64.d +++ b/gas/testsuite/gas/i386/x86-64-nops-1-g64.d @@ -2,160 +2,4 @@ #as: -mtune=generic64 #objdump: -drw #name: x86-64 -mtune=generic64 nops 1 - -.*: +file format .* - - -Disassembly of section .text: - -0+ : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%rax\) - -0+10 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 00 nopl \(%rax\) - -0+20 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+30 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 90 nop - -0+40 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) - -0+50 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 2e 0f 1f 84 00 00 00 00 00 cs nopw 0x0\(%rax,%rax,1\) - -0+60 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 0f 1f 84 00 00 00 00 00 nopw 0x0\(%rax,%rax,1\) - -0+70 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 84 00 00 00 00 00 nopl 0x0\(%rax,%rax,1\) - -0+80 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 80 00 00 00 00 nopl 0x0\(%rax\) - -0+90 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 0f 1f 44 00 00 nopw 0x0\(%rax,%rax,1\) - -0+a0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\) - -0+b0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%rax\) - -0+c0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 00 nopl \(%rax\) - -0+d0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax -#pass +#dump: x86-64-nops-1.d --- a/gas/testsuite/gas/i386/x86-64-nops-1-k8.d +++ b/gas/testsuite/gas/i386/x86-64-nops-1-k8.d @@ -2,159 +2,4 @@ #source: nops-1.s #objdump: -drw #name: x86-64 -mtune=k8 nops 1 - -.*: +file format .* - -Disassembly of section .text: - -0+ : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%rax\) - -0+10 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 00 nopl \(%rax\) - -0+20 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+30 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 90 nop - -0+40 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) - -0+50 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 2e 0f 1f 84 00 00 00 00 00 cs nopw 0x0\(%rax,%rax,1\) - -0+60 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 0f 1f 84 00 00 00 00 00 nopw 0x0\(%rax,%rax,1\) - -0+70 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 84 00 00 00 00 00 nopl 0x0\(%rax,%rax,1\) - -0+80 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 80 00 00 00 00 nopl 0x0\(%rax\) - -0+90 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 0f 1f 44 00 00 nopw 0x0\(%rax,%rax,1\) - -0+a0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\) - -0+b0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%rax\) - -0+c0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 0f 1f 00 nopl \(%rax\) - -0+d0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax -#pass +#dump: x86-64-nops-1.d --- a/gas/testsuite/gas/i386/x86-64-nops-4-core2.d +++ b/gas/testsuite/gas/i386/x86-64-nops-4-core2.d @@ -2,218 +2,4 @@ #source: nops-4.s #objdump: -drw #name: x86-64 nops -mtune=core2 4 - -.*: +file format .* - - -Disassembly of section .text: - -0+ : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 0f 1f 84 00 00 00 00 00 nopw 0x0\(%rax,%rax,1\) - -0+20 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 84 00 00 00 00 00 nopl 0x0\(%rax,%rax,1\) - -0+40 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 80 00 00 00 00 nopl 0x0\(%rax\) - -0+60 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 0f 1f 44 00 00 nopw 0x0\(%rax,%rax,1\) - -0+80 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\) - -0+a0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%rax\) - -0+c0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 00 nopl \(%rax\) - -0+e0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+100 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 90 nop - -0+120 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) - -0+140 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 2e 0f 1f 84 00 00 00 00 00 cs nopw 0x0\(%rax,%rax,1\) - -0+160 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 0f 1f 84 00 00 00 00 00 nopw 0x0\(%rax,%rax,1\) - -0+180 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 84 00 00 00 00 00 nopl 0x0\(%rax,%rax,1\) - -0+1a0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 80 00 00 00 00 nopl 0x0\(%rax\) - -0+1c0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 0f 1f 44 00 00 nopw 0x0\(%rax,%rax,1\) - -0+1e0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\) -#pass +#dump: x86-64-nops-4.d --- a/gas/testsuite/gas/i386/x86-64-nops-4-k8.d +++ b/gas/testsuite/gas/i386/x86-64-nops-4-k8.d @@ -2,217 +2,4 @@ #source: nops-4.s #objdump: -drw #name: x86-64 nops -mtune=k8 4 - -.*: +file format .* - -Disassembly of section .text: - -0+ : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 0f 1f 84 00 00 00 00 00 nopw 0x0\(%rax,%rax,1\) - -0+20 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 84 00 00 00 00 00 nopl 0x0\(%rax,%rax,1\) - -0+40 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 80 00 00 00 00 nopl 0x0\(%rax\) - -0+60 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 0f 1f 44 00 00 nopw 0x0\(%rax,%rax,1\) - -0+80 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\) - -0+a0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%rax\) - -0+c0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 00 nopl \(%rax\) - -0+e0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 90 xchg %ax,%ax - -0+100 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 90 nop - -0+120 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) - -0+140 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 2e 0f 1f 84 00 00 00 00 00 cs nopw 0x0\(%rax,%rax,1\) - -0+160 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 0f 1f 84 00 00 00 00 00 nopw 0x0\(%rax,%rax,1\) - -0+180 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 84 00 00 00 00 00 nopl 0x0\(%rax,%rax,1\) - -0+1a0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 80 00 00 00 00 nopl 0x0\(%rax\) - -0+1c0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 66 0f 1f 44 00 00 nopw 0x0\(%rax,%rax,1\) - -0+1e0 : -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 90 nop -[ ]*[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0\(%rax,%rax,1\) -[ ]*[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\) -#pass +#dump: x86-64-nops-4.d From patchwork Wed Sep 27 15:53:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 145441 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp2726235vqu; Wed, 27 Sep 2023 08:57:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHtSkt74HT898ptHKDGBGr4qI5ffx9XHrjLdb95JErwdSXbl+KrNkjt3UGjVwRFoGb8yhOp X-Received: by 2002:aa7:d7d1:0:b0:52f:34b3:7c4 with SMTP id e17-20020aa7d7d1000000b0052f34b307c4mr2523340eds.39.1695830264283; Wed, 27 Sep 2023 08:57:44 -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 l13-20020a056402028d00b005344aaf2904si4842548edv.500.2023.09.27.08.57.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 08:57:44 -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=pVy+Hmm0; 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 8F6093896C30 for ; Wed, 27 Sep 2023 15:53:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8F6093896C30 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1695830008; bh=cmHXLLJjdKxxiJm8NsJ/3kA8BhlfQa264kLUnkkKNug=; h=Date:Subject:To:Cc:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=pVy+Hmm0tZKZ2PJ5vQpYYgd3B742FQapddQpNKAQYpf7/38hIY12bTTq6Kpbk+D9s dsgGdUqfDr8nkM8aTZlFEm9JafgSMSWCD1XloER2SaN0Y83MnTIrTUBT+DZNHB79vI rcbZ43QRymZegmL+5e2hwYIMh372C8IxUQK9htco= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2078.outbound.protection.outlook.com [40.107.20.78]) by sourceware.org (Postfix) with ESMTPS id 8CFFB3831E12 for ; Wed, 27 Sep 2023 15:53:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8CFFB3831E12 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KA7WxrSNokaVxdOccJeB8tZ0C8fVdYQIFNJ4S5LMfeCp/6XZoFHJ88LRcA7MFckz4rTHZv8BEZXuEuWjBlCO+0HgGxBkV1qF9TigXIsuX4oMSnqrrjjR9frc5hQXfF7lKkKbK97s8OYi8TUPwFj9KxJcExavaESQ4umqgcQGW1UCpL+3mqlaNoxUOjK5LtkMEPKoGHvTsy4gx3D5R6cjSlh+oqokEfP39yZLd/OQWcWAtPA6ocApKfLeVyetT8/7S2aa/teQvIoT19aA0V3t7IsAETaVkd5HMqMEfenKyFuUuPk7lOpPDkY4l3rtHoEAQHz+/EoEor2DZwz+ruPkTg== 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=cmHXLLJjdKxxiJm8NsJ/3kA8BhlfQa264kLUnkkKNug=; b=AAxvOt7WE+NJOQhclrDRHrTbMew2/TumKuRqdXQhoMIPUzoVGuxsFLpW2VNpjzmlwTkr4hfCkgFZZzAdThrrCaB+tzvsRNxwSvj8s1ya8SIsnw5lArJcx1Jy/Sx/Ve5p2R1SNp3hViIphLPwcavXo6/N4SBPTtjq9l2drMn1aJal3f7TzsaEUsdkk+rcI+zL+SGeQWrmVFzMyhH9Hk6Dy+mTyGJxZ22c2yZQyNzonrQ6++s+uw+QpiRdAHd0OI0mJ2dKn4qfakGggKVZgPqmOuBDCyMdCaT8IM+5W5cGKcU5QOODsRoz9Mg2d/OlPNuzrtmjFU3pAE8D6iUBfPcdAQ== 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 PAXPR04MB9138.eurprd04.prod.outlook.com (2603:10a6:102:22d::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.28; Wed, 27 Sep 2023 15:53:18 +0000 Received: from AS8PR04MB8788.eurprd04.prod.outlook.com ([fe80::afae:3fda:c84d:bcdc]) by AS8PR04MB8788.eurprd04.prod.outlook.com ([fe80::afae:3fda:c84d:bcdc%7]) with mapi id 15.20.6838.016; Wed, 27 Sep 2023 15:53:18 +0000 Message-ID: <8e35142f-eb0f-7308-e241-407e136390c8@suse.com> Date: Wed, 27 Sep 2023 17:53:16 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: [PATCH 11/11] gas: make .nops output visible in listing Content-Language: en-US To: Binutils Cc: "H.J. Lu" References: <7ce54bc2-fef2-d2e4-21fd-202fdead0c20@suse.com> In-Reply-To: <7ce54bc2-fef2-d2e4-21fd-202fdead0c20@suse.com> X-ClientProxiedBy: FR0P281CA0151.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:b3::19) To AS8PR04MB8788.eurprd04.prod.outlook.com (2603:10a6:20b:42f::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8788:EE_|PAXPR04MB9138:EE_ X-MS-Office365-Filtering-Correlation-Id: 7bc9c6f3-edef-4a3d-6d52-08dbbf71dde6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GoPxocH4iAA/21dVktjfaMSfZQ7Dh0XF8m9h/lP81ZUOTy3uMOzvLBLZXyoor7o1k1r3wqOVIqS0JwLr33GGE5B65NqVa90ubpGXAU438J76u9WUZ8x0gT1KkYT/oxB6r6/OD/8y9gY97gWBCvQ4/tTXTZ+3pcCpqWUZ3SRiKHVwea8Ml3E4hQ5/eNXihdESlY6lEtySFBo3Eig7Pmfelb47AWkMMKPfu1XRgapdqb9JmqIcAB0WVRKpwM4osBBsEMl2TTmZiBkiNtQ5vr558eqZfWfQicSbFF63fvEVEbyLGw/IgHBe4evYErsRjXkvZWJypFV5TcdR+cEQATZqETX4KF6dwIQyO4E+euU1abX7u+v01xcNCNODoZfPFBG8ClVKfw936EwlEZoMb0vXf5TLYnfcV7VENhC3RK0iP7suNV0TZbbcFJNyxnxkAoZecsMqn+xKCRg3EHCywaS8Ql065uyncbnrZ7Pzb3QDBt8kOos3EXrArdnsy1jb0BMBCT0ACoBpMpB9uZqbUu+CNeBuU3I9zKr5Xd2rNNZ5lnW212+j8MTOYstCK3JfZIlkMvqXqFofm1I0/HLg4ZBPNSB05Qzl3XlBFXJTov1o3/9QeFem2QJYKDmeZbpkyVToZAHGcSJZLsRe3t9ITNC335uALQTcE4eNDqvfhpx9+Q2Sa78x/g7JEM6Yaom5KTZI 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:(13230031)(136003)(396003)(346002)(366004)(376002)(39860400002)(230922051799003)(1800799009)(451199024)(186009)(6512007)(6506007)(2616005)(8936002)(26005)(2906002)(478600001)(4326008)(66556008)(66476007)(6916009)(66946007)(316002)(5660300002)(41300700001)(8676002)(36756003)(31696002)(6486002)(38100700002)(86362001)(31686004)(142923001)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?Bw8zbLAAPrFCG2gN9fOoQObvqqR/?= =?utf-8?q?PEVKB5H1P87qgaVR/ModPD1/dv9gzM3nnaR2F86X7kVK1ibaNh7WIB3mYARmMndQc?= =?utf-8?q?3BcjrOYYCme44iZRwjfI9Am7EY10bqYrG5Z4ZlqyYewuv5T5qBi0tUsj8E0pfFkPn?= =?utf-8?q?l84BM7RPsyoiinb2VPQSTOyKOngqVlZqlvE7aTZStUYS8ZVJx/lGwa2MPh0Oqjtb1?= =?utf-8?q?P4IV5i//K+dVOGjbjgMcSBzKTNACcA6EL5jjrQ7YK001hL+1P7eOUstpCxwyVDdOy?= =?utf-8?q?unvYLZkHDuGppkL4E3WkE1y/S/1MeqnsoI9hzScJXjOldqAP4t5vieRDnaGHLNeJr?= =?utf-8?q?jQqb7g+9Ie2g+NNhansmbQWkZ1P3r9ZKveZCn5lhhLhbm7rpqBQAYW/HWG3qozHbs?= =?utf-8?q?plWoPcOLuFcIMSObMufDIYgV7jBzTYSWL3+e071evJiA+Nj5AMF2zItVvUNaZKP0s?= =?utf-8?q?yz8bbwqGzTORXoAU2AGcZRFtpjpuRgMFecetuzod+kCAevpZs8ewM93YOJJpu48V0?= =?utf-8?q?LzAB+m0pbv8idzXUY0T4LzkN1OwCBsaflLVMfXy+42UyomdabeDuAyDbweZR+m2Rz?= =?utf-8?q?HRNi/oz7CEDJ59FCo3hT5DVss/4vhrFA02lJSHRewfC0qUK1RuMXlWe3R/oJfetOv?= =?utf-8?q?h8X4JJDrREPJevNcDwKfHHkGNxoG0eYWjiGi4MepZ7adZGwtid2ovAqv5niPv+Y7E?= =?utf-8?q?JbyvBWXw+KFm7I/jx+eS2WbI+ppS/FuBGE/YMbA0LqGvBSWh5KXfFbE9LYg/si94/?= =?utf-8?q?TlCgR4gzt3Nnp0C1Nc0qmDJxSqo3T3BBi9VBHDhUzzfxwP8r58NdCL3pNc2VISL7G?= =?utf-8?q?/b8bhfnY7m3p1+JT11yXPKKJAAOUuYq6lwMIgVLdtvDRcICydWyrD9OLg0zdxP3FZ?= =?utf-8?q?r0uhtdvxhIB/CoGbFyjc30TLPzA6qaeuP9B9lafeIw43IoYsWINN4tct/lFypfbbx?= =?utf-8?q?s2z+9byx68h5qvgY9NZ4SReay0i+WrSQ0qHdQBEMG0uNhC1pO4n309sPA/nFk4nyB?= =?utf-8?q?m+s7W3k8QhMw/mMC+BoPsoTvbNJhFatd3Qen0n5ekH1gHysfVilvAOfvYOcSFscUU?= =?utf-8?q?Zbqgw24fhlGfcHwC1oO+5kTykibYR/GUvgj4PZSghM4cSFKay7B9YDb4hUuUcSIpl?= =?utf-8?q?QfqFIMoQcRGUXcIdgTl0WNFgm0aq11HqBLwBTFtMuSyhrNYmE5h+CjeJb0qnvU5f+?= =?utf-8?q?r/Fr/AuUpvnVCnP4G4DZuTxMh3WK+WXLkyxNhpQxWB2FvrnyMc4D4LjMmx9m+mHRy?= =?utf-8?q?JZcOn7htKcMEn9Q/mLox6TCtv38lsDkC7UIbsbkCcZFBhyf0u7Prvgei6ynX0LuQQ?= =?utf-8?q?4Du+ETemrdMHPSrtlUKLkaSUoUYfU0LTpYLKhLDoEgnXITNQ72Yl1jjrNhvZdxNYr?= =?utf-8?q?djKoCQtnxUPbg5+norApk9Tpu6SBjRah+IE4EVlK/j3bpCb0XYlKv9+qTGyPMi9D0?= =?utf-8?q?AgYWGgjiFK4e+M6Kaq75AgAvSc0MBlIMwED8YshYzsWH7imuC5iThy05Buijk+kRS?= =?utf-8?q?t7djGfSkjQmZ?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7bc9c6f3-edef-4a3d-6d52-08dbbf71dde6 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8788.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Sep 2023 15:53:18.0143 (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: dOxk9poztiLCtZkr6NukWA0KM33l9GSFuVv2qIB1B+IN0MaUQl1DLdzDMpYZLL33GD/ft91dZaPXlLQ/TG1QPw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9138 X-Spam-Status: No, score=-3026.8 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.30 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: INBOX X-GMAIL-THRID: 1778206914752348599 X-GMAIL-MSGID: 1778206914752348599 Due to using a different frag type (in turn due to storing data differently), making the resulting code appear in listings requires special handling. --- a/gas/as.h +++ b/gas/as.h @@ -247,7 +247,9 @@ enum _relax_state 1 constant byte: no-op fill control byte. */ rs_space_nop, - /* Similar to rs_fill. It is used to implement .nop directive . */ + /* Similar to rs_fill. It is used to implement .nops directive. + When listings are enabled, fr_opcode gets the buffer assigned, once + that's available. */ rs_fill_nop, /* A DWARF leb128 value; only ELF uses this. The subtype is 0 for --- a/gas/listing.c +++ b/gas/listing.c @@ -815,6 +815,28 @@ calc_hex (list_info_type *list) var_rep_idx = var_rep_max; } } + else if (frag_ptr->fr_type == rs_fill_nop && frag_ptr->fr_opcode) + { + gas_assert (!octet_in_frag); + + /* Print as many bytes from fr_opcode as is sensible. */ + while (octet_in_frag < (unsigned int) frag_ptr->fr_offset + && data_buffer_size < MAX_BYTES - 3) + { + if (address == ~(unsigned int) 0) + address = frag_ptr->fr_address / OCTETS_PER_BYTE; + + sprintf (data_buffer + data_buffer_size, + "%02X", + frag_ptr->fr_opcode[octet_in_frag] & 0xff); + data_buffer_size += 2; + + octet_in_frag++; + } + + free (frag_ptr->fr_opcode); + frag_ptr->fr_opcode = NULL; + } frag_ptr = frag_ptr->fr_next; } --- a/gas/write.c +++ b/gas/write.c @@ -1682,7 +1682,12 @@ write_contents (bfd *abfd ATTRIBUTE_UNUS bfd_get_filename (stdoutput), bfd_errmsg (bfd_get_error ())); offset += count; - free (buf); +#ifndef NO_LISTING + if (listing & LISTING_LISTING) + f->fr_opcode = buf; + else +#endif + free (buf); } continue; } --- a/gas/testsuite/gas/i386/i386.exp +++ b/gas/testsuite/gas/i386/i386.exp @@ -598,6 +598,7 @@ if [gas_32_check] then { run_list_test "inval-pseudo" "-al" run_dump_test "nop-1" run_dump_test "nop-1-suffix" + run_list_test "nop-1" "-aln" run_dump_test "nop-2" run_dump_test "optimize-1" run_dump_test "optimize-1a" --- /dev/null +++ b/gas/testsuite/gas/i386/nop-1.l @@ -0,0 +1,39 @@ +[ ]*[0-9]+[ ]+\.text +[ ]*[0-9]+[ ]+single: +[ ]*[0-9]+[ ]+\.nops 0 +[ ]*[0-9]+[ ]+.... 90[ ]+nop +[ ]*[0-9]+[ ]* +[ ]*[0-9]+[ ]+pseudo_1: +[ ]*[0-9]+[ ]+.... 90[ ]+\.nops 1 +[ ]*[0-9]+[ ]* +[ ]*[0-9]+[ ]+pseudo_8: +[ ]*[0-9]+[ ]+.... 2E8DB426[ ]+\.nops 8 +[ ]*[0-9]+[ ]+00000000 * +[ ]*[0-9]+[ ]* +[ ]*[0-9]+[ ]+pseudo_8_4: +[ ]*[0-9]+[ ]+.... 8D742600[ ]+\.nops 8, 4 +[ ]*[0-9]+[ ]+8D742600 * +[ ]*[0-9]+[ ]* +[ ]*[0-9]+[ ]+pseudo_20: +[ ]*[0-9]+[ ]+.... 2E8DB426[ ]+\.nops 20 +[ ]*[0-9]+[ ]+00000000 * +[ ]*[0-9]+[ ]+2E8DB426 * +[ ]*[0-9]+[ ]+00000000 * +[ ]*[0-9]+[ ]+8D742600 * +[ ]*[0-9]+[ ]* +[ ]*[0-9]+[ ]+pseudo_30: +[ ]*[0-9]+[ ]+.... EB1C2E8D[ ]+\.nops 30 +[ ]*[0-9]+[ ]+B4260000 * +[ ]*[0-9]+[ ]+00002E8D * +[ ]*[0-9]+[ ]+B4260000 * +[ ]*[0-9]+[ ]+00002E8D * +[ ]*[0-9]+[ ]* +[ ]*[0-9]+[ ]+pseudo_129: +[ ]*[0-9]+[ ]+.... EB7F2E8D[ ]+\.nops 129 +[ ]*[0-9]+[ ]+B4260000 * +[ ]*[0-9]+[ ]+00002E8D * +[ ]*[0-9]+[ ]+B4260000 * +[ ]*[0-9]+[ ]+00002E8D * +[ ]*[0-9]+[ ]* +[ ]*[0-9]+[ ]+end: +#pass