From patchwork Fri Jan 13 12:27:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Szabolcs Nagy X-Patchwork-Id: 91379 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp165476qgi; Fri, 13 Jan 2017 04:28:32 -0800 (PST) X-Received: by 10.99.24.92 with SMTP id 28mr24261721pgy.100.1484310512257; Fri, 13 Jan 2017 04:28:32 -0800 (PST) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id u3si12617376plb.141.2017.01.13.04.28.31 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Jan 2017 04:28:32 -0800 (PST) Received-SPF: pass (google.com: domain of binutils-return-95406-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-95406-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=binutils-return-95406-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=KABweqiPdECjXinSsqERN kw0vl3+2w44NcAht+0tpM2zsbDC7d36fEkohEkoim6GPslZhVnudDJLtu0KKbYEj qNNn2unPkHiAKNCOV/K3md8jb4fiKVMcISzbACbxMYywrEGwQ3TRBwi594I+9HMa MqBS9acySxhzLqNw5yf26w= 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=wn6Pmm6Rvq068VQi0rfM0xAhFSA =; b=PRCsEQimyTCtr8nhu+D9crgVtL+u92qfGFssJc1LKFnlXXLIq7iiYWJhphf fFg5PLtvj62URqmCjGv9QRzZxhDepWIyxCk4fS4mGDtR39hm7k+nfhFiuCoDPs+Z 6YizBLG/ywsvCCMeGEhnwNW3zH9TXcmPh04YDKHtNNrfzYlo= Received: (qmail 69109 invoked by alias); 13 Jan 2017 12:28:05 -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 69092 invoked by uid 89); 13 Jan 2017 12:28:03 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 spammy=unset, Hx-languages-length:1630, H*r:sk:mail-ve, H*r:104.47.1 X-HELO: EUR01-VE1-obe.outbound.protection.outlook.com Received: from mail-ve1eur01on0045.outbound.protection.outlook.com (HELO EUR01-VE1-obe.outbound.protection.outlook.com) (104.47.1.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 13 Jan 2017 12:27:53 +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 VI1PR0802MB2493.eurprd08.prod.outlook.com (10.175.22.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.845.12; Fri, 13 Jan 2017 12:27:49 +0000 Message-ID: <5878C7C1.6090607@arm.com> Date: Fri, 13 Jan 2017 12:27:45 +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 , Jan Beulich CC: Subject: [PATCH][ARM] Fix decoding mask of the VCMLA instruction X-ClientProxiedBy: AM5PR0402CA0012.eurprd04.prod.outlook.com (10.175.37.22) To VI1PR0802MB2493.eurprd08.prod.outlook.com (10.175.22.151) X-MS-Office365-Filtering-Correlation-Id: ef1ce4e6-26f7-4e2e-4aac-08d43baf96c0 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:VI1PR0802MB2493; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0802MB2493; 3:1EV+fjXgG9s0nisf1LtQpKMh9TmjsAT4kG897gfrIKhftrP/Vqdy/VobPD50QY+HS/vD4eVAQefv+yV8kCkZc/zXSaDEIyUuhk9Q21PE6ZvZyIw8H9TYhlg55V0cehv/5TUZMX7RzjlQx0xHcDgp3q79AMdnRRDHHL1hLpMSB+oNafTbWg+3LNuS85AQ7rieDJv3fyj55ionFEczB0oEcX8ji6e3HeQ4MlaGJ5bQol3yH8UVhrmAwpGtxBRcalraUMbtPYZj56ufpZO1q/Z+dQ== X-Microsoft-Exchange-Diagnostics: 1; VI1PR0802MB2493; 25:T+FhaAtbogTjqnrqIIgJ1ObP4WV5aFCcSr/SIKGFh1S/kKPSjOF/N5yj+dDCphJ3MGVkhfEM97/TNjb3CYNO9TnasYsMfQU2dq0oI6eB5j6yyAFCLnzPyO3eJsOHnn5LyzUrdS+8mUqCryBRpQEOAldQj0V6xnL2dkw+BLpegxIWFaWgpfYkudXciBHyT+7waGYCTc5MmzUmYc2kBBC7NZ0W9gymzwwVKCb85g423Rs86evnOGVNTsi1bTYG10SLCxuugdTMiYEV/UfpvcRSJS41GzgYRr91dkN7B6iWz/EclReE5KQnr8bddBNPK02aencUvoDhbkAHbMp3SO/A6FVzgJfLued4nCyF0C+1gmCzvcdDm+YZg5X0FZFwRIwFrV4lWJM2vBG9hLSo9vn4dxRgOoyL/lo1eWCCGXWZj+x5fqx2yqAvAqnQNuU4QiNkQollWYek2DI4962UGyjF/giTYLIEK2ZYA1+p+7H5A5fXU9TfIKk/K4g0jinynaYqDerUHu8fzdj5ZnsZKXKzqPedFo/msK7Jy3nHoZO0Qv86KrgNDWivWIBM1Pv8eYl9zVbbFbLpUNXlw4pQEiNrXdo9dk84vQ7pTG2Uc9UwSzap96k0TLlBxs8moyk5RdtG/QkEk2lq/LoOWsOAszbSnaMga253HzkQb2MqO9pWDzt0wFlfktGLWln6qdzUnadaj6817yglqS1mW2bz0zxbIpQvU3VUKYK7nBTJ7jkd29YztYsxpFZKCCyX7MmrWrwVczuxwkscnQ484TIQLx/Z/d23iSHX45xS0FxyY+gRsu1ehwR44kqVxVe0m83AjorNp2WH1UJTIRT1NPv4CVdvE5kHcSwfGRuA6XkZVteTCH4= X-Microsoft-Exchange-Diagnostics: 1; VI1PR0802MB2493; 31:sbnJuq+J9ekUmj/OfYHEF7j6yXgVMTGWWy2J/R0QCVG/M+sNJXug1ivX2QBvWG2d4iiZ7ACmzpFXB/eZ1aqb+4iw7qxakRWMd2EWfvSenJc0qAhFIVGWnZBYvtoiEOuX2KgVgy/ZmbYgH5mZTXy9AsXvxGijoJ8MscMNQyEScbaOkzHFVSIVI+gmDYTpZA1k028vHv6QayTKb+mzpGxOkg8OtJnP8nP1JXWLpOCHq+9SBRHNw48yMp+wiC69muh9O2D8kclP9nRFxlB0p6xMxFZetVGD2ufHUnhTkxT8IGE=; 20:t9YlTEiTfXNm2rAeiIFEGLtx4lYLA6e54FvXa2pi9jdTM6ov920LTgcMI4M85N9l2BFZE2XIJqTO+0DfHjga5ANgIipEM5BurnRdaVOKNQVuK/oN++EDdHE50iipTEEhpT3MD0vxHRa3w7RhZ//jhBQ8ssOS+yU5I9WwQpoi2LE= NoDisclaimer: True X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(180628864354917); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(102415395)(6040375)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6041248)(20161123562025)(20161123555025)(20161123564025)(20161123560025)(6072148); SRVR:VI1PR0802MB2493; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0802MB2493; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0802MB2493; 4:4I4P0CRGkbmpo979ZWrPAbgXacSuLOKpiVwtMc++KTCvpGXyDYTGYA5i4MZkDGIxN97iAjtudXLaLpT89iLy8fEHOWIjSO+ScWbd4fcHS4vgSV3gMdf14Jf8l06r/nbMg4DgovoTFZlnOBhnhYr2g/agJzHDk71QxznuIjxllG4Rp9x6BTSng71TeKRwlXM8sMOoPK2aGAgom6evJn9z1ZrQHD1oTUQZVhvZq95wlIgpklemj5Z3+uKWATWeX9TubZHKQoxSHfyo+Csf13l3AwkalnQM+X7HCwOqwcit5HVzo9oG75gO0jOLHwwdjcGyAnVbrIKuyL5Pt/VFl29eNazBCl+9ZIeHIthtsr8+SgFNEm7shhCqXxuhBvNaH05hMYdSdbkpm2KHmyIcgDru1RV5w2QxoImJVS3lKzNMFMowwhFziYXp3OA71tXsPCQ+noJ2p+RYb89aoMJKQej1azMs627srZc2suSRp+oekP3Mziut/m9jRdiM2doOtk/BDOSEJthp2AnGm8eGI3LBsoy2e4o4j7/MEUsYBhwgtEoEoBCy6AqWqVIqJlJ63Z5s7RzhkvUJ9MGO2pcj44h75FHhDNjwZgYcEX4ZBIadAth0RYjS9ds5AIR0WsaCDoWzQvuPkx1/qWNidtkfaGjVs3FFE3jXObScTNmKNY3DHUQ= X-Forefront-PRVS: 018632C080 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6049001)(7916002)(39840400002)(39450400003)(39850400002)(39410400002)(189002)(199003)(377424004)(81166006)(81156014)(65816999)(50986999)(8676002)(87266999)(54356999)(86362001)(6666003)(42186005)(7736002)(2906002)(305945005)(568964002)(270700001)(21490400002)(512874002)(97736004)(5001770100001)(5660300001)(4326007)(33656002)(92566002)(4001350100001)(101416001)(64126003)(38730400001)(25786008)(5000100001)(83506001)(105586002)(189998001)(5890100001)(59896002)(6486002)(77096006)(90366009)(106356001)(2476003)(564344004)(3846002)(66066001)(4610100001)(36756003)(6116002)(84326002)(65806001)(65956001)(80316001)(68736007); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0802MB2493; H:[10.2.206.73]; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A: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; VI1PR0802MB2493; 23:DnD64MCfnhG9G0gcesoBpH9IivwPU+X698fgEEg?= =?us-ascii?Q?gQtLd1n3mbFOj6PyYpFdvH+Bj7Cj6SieVRvblRQWlivu3WO7kLwtZuMl5/ce?= =?us-ascii?Q?c5B7IktFNCKhlbdAGMmU0GyeY1jAhUSQWPuHIGPX6gQPZekdM0odfJ0XFUBe?= =?us-ascii?Q?Z2x9Og8iuGkyTZeboykchZ6njMji/AV6li7P7ZXs9wr8ADoXWkQBToxlk+bY?= =?us-ascii?Q?G7UJZiRKEe2FSalUCVSgeEBzYKvNw7nw+yL06LKnxm7sl1GJjdv8/Cpl8GoX?= =?us-ascii?Q?JeY4yy8jv6Z0hwMaWbRFhRZ64RxBm7tg3PuTESncTupOUd9Y1XeYST4S8Oh+?= =?us-ascii?Q?H5f46m4HNP6FFlgPDfOcq+6IzzClbDsccMNfQNlApUcIuryMUlSLrRlAZVO0?= =?us-ascii?Q?gpe24SuYG1taSVT7vhkcKikFAZD44EJQPNeP4Qtb1b9k2TkYmoVy+5kJ86Nj?= =?us-ascii?Q?JiiCUKQrYfdQkQr/45fQaQk4AOP4zK+PktfrSUnnW4WmnZYcgdlSdd6F+y4u?= =?us-ascii?Q?Z0pFEAqtyxjcr603gR8FhOdIpF01zqMxf3+q/jNSIT3PhsC69kXCoY3FO1vQ?= =?us-ascii?Q?PotfVDUoIjLRx+zBzKo9jU+dKe2rAcvqIfZ096pRnZPt3FaLGw56LyPvs4Sl?= =?us-ascii?Q?v3Oxll9sKfFs4Kgycp10beIXuTvo1TSnYS4EBCClw/75JizcmJBXNTCaMn+C?= =?us-ascii?Q?UkRxut3h1hnYLbb0IJh4/oillKi7kxCAVhMgHpWjOsmyPC5s7fxR12fY/BPc?= =?us-ascii?Q?t8tiZER9RuvYh7s7sI0G17vsdHDUsrVRPz5XS93JWVW8LJAklfoOhYQYOX8y?= =?us-ascii?Q?EOAJEf0O3QfzSOaoImDBULfVeoSM/GCXAhHCGWmDEdnnPkYx4h9AC0mHx8q/?= =?us-ascii?Q?wJEjnFhgkuXHjmnpnBdQsB6YX0EsKc+vxmbiUolQR3zRhkQHHzBBrppQPut5?= =?us-ascii?Q?0qSPGrP5xcYV4DRHTN26ixS5FgKeq6tdu8llZAW7NZkCm3AjsNt6W86a4AwA?= =?us-ascii?Q?8235TxtvldOMwrCyuOhG2VvElxBN/zBooPHPD72LyDev0YkikTS5+1IhKAVX?= =?us-ascii?Q?XgsrtWHa9qLF0k+jgq3aOdRAg3PZP2x2CltmluePDK9AUT34gnU862imfriz?= =?us-ascii?Q?x3tYXASTiaLYblEoeJOkHIJjrDh+wSvlQ4WuwZivFYm0FN4ULhKHjXEb8Mpf?= =?us-ascii?Q?a+XPoFAp9UD3XcZr2D0mwBoZSjlGWQEhgOMIiakUV2dttxN849v0Jqt35tB2?= =?us-ascii?Q?qeyYBTyHHneKG4464dF4Mn2avv8mtKluk2WUc/rnirDNJ6Q5IZOdZY/SXUlx?= =?us-ascii?Q?jF0g6vrtHWkGWBIqSNWAovK4gMF5BfLp+s3y0iELqJ9Qp/Y/0VZyYsVdTfkJ?= =?us-ascii?Q?hC4BEt3u0YQaRB0kQ66YOuM4IBt4ZBpDgck23Q6tkzmJQGd+qHhkFt2q17Y9?= =?us-ascii?Q?7OizSA5hmY8C2khxXPPXF7qPmk4MpKii0JtXv1kG4Wd7EsY8aPjkBZzyN3Ww?= =?us-ascii?Q?/8WzMtS0XwpZx6XJnhY564tCtYb7C3lU5kBU=3D?= X-Microsoft-Exchange-Diagnostics: 1; VI1PR0802MB2493;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nPbtShFxVyN44Hf47d2r/+uTl9oYlmFViz7o0LQU6Dz/GlSxldfPSqRpjfKHVH9j0TUDfWic2a7LMtQPKwBCjM/EZQlYNXtnr8r0A6Ilk4O/9+s8il49YfJ61yrNUNBYb+YFgShwlbaVbeCU/YOUTiOSEQUyvVsqSSwzAmTMfu2bKoM4AJrNu2E9PPrauKBs2Ad9kQXloJnF0fVLhw2cVno3IJKdievVgslVK4KMcG31SEByQ== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jan 2017 12:27:49.8480 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0802MB2493 X-IsSubscribed: yes Bit 24 of the indexed element vcmla decode mask was incorrectly left unset. This could cause incorrect disassembly of some currently undefined instructions as vcmla. opcodes/ 2017-01-13 Szabolcs Nagy * arm-dis.c (coprocessor_opcodes): Fix vcmla mask. diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c index 167c668..11ee9c5 100644 --- a/opcodes/arm-dis.c +++ b/opcodes/arm-dis.c @@ -897,13 +897,13 @@ static const struct opcode32 coprocessor_opcodes[] = {ARM_FEATURE_CORE_HIGH (ARM_EXT2_V8_3A), 0xfd300800, 0xff300f10, "vcmla%c.f32\t%12-15,22V, %16-19,7V, %0-3,5V, #%23?21%23?780"}, {ARM_FEATURE_CORE_HIGH (ARM_EXT2_V8_3A), - 0xfe000800, 0xfea00f10, "vcmla%c.f16\t%12-15,22V, %16-19,7V, %0-3D[%5?10], #%20'90"}, + 0xfe000800, 0xffa00f10, "vcmla%c.f16\t%12-15,22V, %16-19,7V, %0-3D[%5?10], #%20'90"}, {ARM_FEATURE_CORE_HIGH (ARM_EXT2_V8_3A), - 0xfe200800, 0xfea00f10, "vcmla%c.f16\t%12-15,22V, %16-19,7V, %0-3D[%5?10], #%20?21%23?780"}, + 0xfe200800, 0xffa00f10, "vcmla%c.f16\t%12-15,22V, %16-19,7V, %0-3D[%5?10], #%20?21%23?780"}, {ARM_FEATURE_CORE_HIGH (ARM_EXT2_V8_3A), - 0xfe800800, 0xfea00f10, "vcmla%c.f32\t%12-15,22V, %16-19,7V, %0-3,5D[0], #%20'90"}, + 0xfe800800, 0xffa00f10, "vcmla%c.f32\t%12-15,22V, %16-19,7V, %0-3,5D[0], #%20'90"}, {ARM_FEATURE_CORE_HIGH (ARM_EXT2_V8_3A), - 0xfea00800, 0xfea00f10, "vcmla%c.f32\t%12-15,22V, %16-19,7V, %0-3,5D[0], #%20?21%23?780"}, + 0xfea00800, 0xffa00f10, "vcmla%c.f32\t%12-15,22V, %16-19,7V, %0-3,5D[0], #%20?21%23?780"}, /* V5 coprocessor instructions. */ {ARM_FEATURE_CORE_LOW (ARM_EXT_V5),