From patchwork Mon Nov 7 12:26:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Szabolcs Nagy X-Patchwork-Id: 81059 Delivered-To: patch@linaro.org Received: by 10.140.97.165 with SMTP id m34csp984762qge; Mon, 7 Nov 2016 04:26:45 -0800 (PST) X-Received: by 10.98.141.153 with SMTP id p25mr12958124pfk.148.1478521605318; Mon, 07 Nov 2016 04:26:45 -0800 (PST) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id e80si31030620pfl.8.2016.11.07.04.26.45 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Nov 2016 04:26:45 -0800 (PST) Received-SPF: pass (google.com: domain of binutils-return-94376-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org; spf=pass (google.com: domain of binutils-return-94376-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=binutils-return-94376-patch=linaro.org@sourceware.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:cc :subject:content-type; q=dns; s=default; b=SQg8zMnBT2FE2AIadK5nt q2lGRAZ0c2GRmXgXNQ8F+//xnh3OGS8qrblCEq6fqhOusjWEWb4VDWxHdRLV6kpr q3EyXFlsKnV4ucrQgWtBuxikwIkkWp3x+bpHbV58rxVuLckU5HSmUfEQiKrBAzkE 8sd1Jd000jX24idQZEGj/E= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:cc :subject:content-type; s=default; bh=J7DT5kXYSf2BKiJ7uj5BX8533LI =; b=XTFBLCtdjxjeFgnJQjuB4or4Ok+XvBrS/G6jBXg+4wewYyXeLqRHvLxjfyk E3KOoAB9KKcWj27cVeCJmDg4ItpmHQhDwYngrTN3J4aZS22qPsqhY84ekQBth1ni y00L89YwKKtRtZUyOvig/+uH/9Kobxggx5V27q4vR0Y3Z2S4= Received: (qmail 60616 invoked by alias); 7 Nov 2016 12:26:29 -0000 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org Delivered-To: mailing list binutils@sourceware.org Received: (qmail 60594 invoked by uid 89); 7 Nov 2016 12:26:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 spammy=authentication X-HELO: EUR03-AM5-obe.outbound.protection.outlook.com Received: from mail-eopbgr30059.outbound.protection.outlook.com (HELO EUR03-AM5-obe.outbound.protection.outlook.com) (40.107.3.59) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 07 Nov 2016 12:26:18 +0000 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Szabolcs.Nagy@arm.com; Received: from [10.2.206.73] (217.140.96.140) by VI1PR0802MB2159.eurprd08.prod.outlook.com (10.172.12.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.669.12; Mon, 7 Nov 2016 12:26:15 +0000 Message-ID: <582072E2.7050908@arm.com> Date: Mon, 7 Nov 2016 12:26:10 +0000 From: Szabolcs Nagy User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: Binutils CC: Subject: [PATCH][AArch64] Increase max_num_aliases in aarch64-gen X-ClientProxiedBy: DB4PR01CA0051.eurprd01.prod.exchangelabs.com (10.242.152.41) To VI1PR0802MB2159.eurprd08.prod.outlook.com (10.172.12.16) X-MS-Office365-Filtering-Correlation-Id: fcf3109f-e488-4c36-266e-08d4070944da X-Microsoft-Exchange-Diagnostics: 1; VI1PR0802MB2159; 2:cWtMzETe/QHoUmFo1zYxV/LXW0t5PTfuG1FMTMGs4OwEiXKK0fT/JX4fjMb3sVauBHSrN8t0tcV1IIvVWxYFClSrtgJRBOpgsE4DY3MctqptsRRfgoOgt928ZjxC7hB5p3mQdRmaW6VSV2CjU+V+Nywn8dBM51DY24iP0XW9bmBepXjbx+K3Z7bdVTO1u1W1r3ePPVgH4VVq4Vcd27CjGQ==; 3:HnlKQqYDPeQFpWYOWPe8ptc8N8W0EGxdAzQEjcz4DXTkOO/vsJ/ZBhu6I8QDVC1u8IblQ684fgkIkvRIzTS9fflnlioyqJLUuG5B+S8bF/JVybEvzzCjOYem8KLbkuBplPYdBtpF7uhxqJF2PDb5Qw==; 25:hiQeuK5fUSB3wWG53sjzpaijRj14qhP1TwNYSPqyLRzOG2/5lqSJS1KxZAzi1zg3OvKQVcBsNfg+SW2rrqLU7spxzZIYw2mNrFWoYQCf1obuT+bbgMMigUU5rJJFx2+KnW/5qqjjSRAusIoNL5dld5kgm1i4BP6iNxSIid0kB9Q1uOkrTG8Fy2rKKgMbFHGLvoWVPvFp7XuKR+VWHLuzPrGm/muTOsgHOf6YYToz9amdiOQrPK8rlX8myxa7n5/KyyolZxTCkDVjVqAajMEOXbSJ3+0C+59E29MqYvWGReyBo+KLAE9kfOqhWzMroXJ0g44Aam8OA4hfRX9IRHd7PcPmLYNHgBikypVN+UpTvMB6t1BG71fC8dqx4TRPnfvhGkxTGdSAjZ9mtRTxqWzJAnWB+cn8DVrLTopCBbiG4xzsVISWVxfZCxvKI2BZovKEqyC+wDW70uiKDw8KqmDCaww0HYtGHqt0whRxQM9SNeItrEQblbC2DvrMUiVdg4t6 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;R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Scan:(180628864354917); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(102415321)(6040176)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6055026); SRVR:VI1PR0802MB2159; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0802MB2159; X-Forefront-PRVS: 0119DC3B5E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6049001)(6009001)(7916002)(199003)(377424004)(189002)(19580405001)(3846002)(19580395003)(6916009)(450100001)(4610100001)(5660300001)(42186005)(7736002)(7846002)(65816999)(54356999)(87266999)(305945005)(2906002)(6666003)(4326007)(50986999)(5000100001)(77096005)(59896002)(86362001)(110136003)(84326002)(83506001)(65956001)(64126003)(65806001)(512874002)(568964002)(66066001)(4001350100001)(33656002)(586003)(97736004)(5890100001)(92566002)(81156014)(8676002)(21490400002)(36756003)(229853001)(99136001)(80316001)(105586002)(6116002)(2476003)(106356001)(81166006)(189998001)(270700001)(68736007)(101416001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0802MB2159; H:[10.2.206.73]; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR0802MB2159; 23:k4lwUg67dcKXCBUPJ83mlfOmkCcJ3ZRE4+aI5fJ?= =?us-ascii?Q?48+oOFyg24lpzlRD/jFUWq8CvNLoC7w0oEtMO/phnFC0sjJ2inLr8qBUHXyJ?= =?us-ascii?Q?RVncj74WWHpMfHT6Nv8Zty5n4RWGz1zEQozu/G8kFiMnCQ61/F+Ha9lIs1vL?= =?us-ascii?Q?NJ2n+augDIg8brSBr6+tr8QITh5Esbw+5Cz3aUjckFw6E0GBwehcTzwKULGa?= =?us-ascii?Q?WNM5rxavFeBFvj6/mfwzX76v6om50KRAiIxX/xr/xO6qmDCqTC+TbHtmb+rW?= =?us-ascii?Q?V+KH83J9ruP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amDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; VI1PR0802MB2159; 7:iSLUVURDBiDENGha3qGm0zWiMtfIrgrdCPhf7rM3+H38SZyjVn1RkVH3cZyxnCguqJO1cck+9zVQ6EFffOVr4u6VvGppUlLWgOlFUIKopX+a+Hu0KhDEFuCtO99bu9mGZHVnemuyId0XMEWH3JWJWe3qQCcbCF0fjloVhxr5+ZwswqWLWKlF2bBWYQvC0laMFGfaRODnolNj6Ikb0HFekIJtVCtq6+XRVQvh6FQk0DxbZKMstu5Uz08LLnjIORAWTPa3X8W4q+m7cgidq0tuQ6mkxwlkSFz6lHfFNMo7tEIEtP1f4cuV2HM7mVheovlwEN8dAa6C1ONdq6j8Ih0r5J6IRsJ3Mmk+Z7GafISs4mk= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Nov 2016 12:26:15.4968 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0802MB2159 X-IsSubscribed: yes Some ARMv8.3 pointer authentication instructions are encoded as HINT aliases, so to allow more instruction aliases in the generator, max_num_aliases is increased from 16 to 32. opcodes/ 2016-11-07 Szabolcs Nagy * aarch64-gen.c (find_alias_opcode): Increase max_num_aliases to 32. diff --git a/opcodes/aarch64-gen.c b/opcodes/aarch64-gen.c index a62f6c8..68b6e14 100644 --- a/opcodes/aarch64-gen.c +++ b/opcodes/aarch64-gen.c @@ -687,8 +687,8 @@ opcode_node * find_alias_opcode (const aarch64_opcode *opcode) { int i; - /* Assume maximum of 16 disassemble preference candidates. */ - const int max_num_aliases = 16; + /* Assume maximum of 32 disassemble preference candidates. */ + const int max_num_aliases = 32; const aarch64_opcode *ent; const aarch64_opcode *preferred[max_num_aliases + 1]; opcode_node head, **next;