From patchwork Tue Aug 1 15:05:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tamar Christina X-Patchwork-Id: 796294 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-459531-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="hhvA1Vg8"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xMKPp3vRlz9tWN for ; Wed, 2 Aug 2017 01:05:33 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:cc:subject:message-id:mime-version:content-type; q=dns; s=default; b=lgknczeOpKAzTcznUaCyoGTxwoYgJ0jUNNJr5OYMnUVvaXrTYs 0fPtTZooDgXFKwoTbXs1m30JlyD0i4ehDDozFEOrwVk0/nuxym3njcw6CMdDsY7H xi1DkL4p+aKvc16c3N0HqIqIe49VyI9fBBOHbaHhS8bdkoXUGN+jxF1UE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:cc:subject:message-id:mime-version:content-type; s= default; bh=QiAW1i/DOYQqBmKMHYWwYJMpSgc=; b=hhvA1Vg857SAxZIoi4l2 esWiyGtcDP59ZSL6xqcx60uTEKALiiF1KIhBwwGniXY3c0zdgm8jMl3R/Yqb+V8S 3NmPgzoGu5apcWFvEQo1yoRtTsOI1golc4MifnRIwNDgDOklSXfdQJ5lOfTgzG4y n6gti7YaIDzP03OvwF7bWUU= Received: (qmail 5038 invoked by alias); 1 Aug 2017 15:05:25 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 4987 invoked by uid 89); 1 Aug 2017 15:05:24 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.7 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 spammy=H*r:sk:mail-he, H*r:104.47.0, HX-Exchange-Antispam-Report-Test:131327999870524, Hx-languages-length:1260 X-HELO: EUR01-HE1-obe.outbound.protection.outlook.com Received: from mail-he1eur01on0089.outbound.protection.outlook.com (HELO EUR01-HE1-obe.outbound.protection.outlook.com) (104.47.0.89) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 01 Aug 2017 15:05:22 +0000 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Tamar.Christina@arm.com; Received: from arm.com (217.140.96.140) by AM4PR0802MB2307.eurprd08.prod.outlook.com (2603:10a6:200:5f::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1304.22; Tue, 1 Aug 2017 15:05:18 +0000 Date: Tue, 1 Aug 2017 16:05:13 +0100 From: Tamar Christina To: gcc-patches@gcc.gnu.org Cc: nd@arm.com, james.greenhalgh@arm.com, Richard.Earnshaw@arm.com, Marcus.Shawcroft@arm.com Subject: [GCC]][AArch64][PATCH] Fix big endian float immediate moves. Message-ID: <20170801150510.GA11610@arm.com> Mail-Followup-To: gcc-patches@gcc.gnu.org, nd@arm.com, james.greenhalgh@arm.com, Richard.Earnshaw@arm.com, Marcus.Shawcroft@arm.com MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-ClientProxiedBy: HE1PR0301CA0010.eurprd03.prod.outlook.com (2603:10a6:3:76::20) To AM4PR0802MB2307.eurprd08.prod.outlook.com (2603:10a6:200:5f::16) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b99d87c8-75ca-47bf-90a8-08d4d8eeb964 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(48565401081)(49563074)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:AM4PR0802MB2307; X-Microsoft-Exchange-Diagnostics: 1; AM4PR0802MB2307; 3:/T5k8/1pgrrZhdo8mwetMAmsXLEwehQ1lezj3MDAnhGsTi+NRUSqb9imyDoM3S1U7jJnVy7q5kWa7jRMnbQvks1KKGYusiupq8A+Fb8Oau9eK9qQMx/uE+duj7eXBG2l2yw4Wf2g6xf7AjuKX1xdouIDKWsN+kTvh6DuL8iJr0R9rIVWTxZPixxwFVIdTuQAfP/+Lc1i6USL/ZoqGUuH0U2vmSYSnx9vBDjOVPTA0c9EuKHKLVfwtbIzwPqYUAmTmqCZ1PSgnx0Bd8KDZla5LZjbZtrM8BHOgSfJ1ekfJhS0lQgzBeytf4qp8IQOrEMD6BaI5UYVBWhQL2xA7G2DuUiAHEC2S4FVhJR2VL1mG4HcUmTmCQ2PbdMT/72uOafAS1TCmjvn06MLMZo8c3q4qo2NabG7ng0vcMVrNzlMo5tBuz9b+LDOa9cQ7FomjThzyaPPOpXh0+rOngxSaf1v4tOdvBenaY5Gi7Ow3J6D719ukCYhr+gd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EdA4QStkmc9BHpJm9Dms+dnhtbAglEc1VVJibyDq1J2k0upcm+NjcD; 20:YofssSyIHnLKZQDkyCWBbbv+Gr4CGHKFOzBSm6LBARhRpRDyZbqJTOobkPIBbTy6ukQgeOHA7zhbgzMl/NDNKiAxTpE+oi0JwQPTFjAGH4bzcSj5eBC4tb1AeElIXk8F2h8xK4uNRVx4m1nxfDlM9Bo9QPhr0fSAicVNLy5NT1E= NoDisclaimer: True X-Exchange-Antispam-Report-Test: UriScan:(180628864354917)(131327999870524); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(102415395)(6040450)(601004)(2401047)(5005006)(8121501046)(93006095)(93001095)(100000703101)(100105400095)(3002001)(10201501046)(6055026)(6041248)(20161123558100)(20161123560025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:AM4PR0802MB2307; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:AM4PR0802MB2307; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM4PR0802MB2307; 4:IzU1x7A6KAJPxNUkALLEGjCtM2Y65CBRvpgzdB05?= =?us-ascii?Q?G+dGNKoZrnCh4qrmvdqYXbwFcBYGhj6u2HnrdRCOcqpOsezr9t5zu/MBo9JW?= =?us-ascii?Q?8t9CKmW9xAGbiMfWRTYFRIfy7hDXGDeYtAWk3pduJsn2f/m5+ahJ1VhTyR+A?= =?us-ascii?Q?tfD5+Rko2c9rLxHZkQHWFG13i4TrIiPgLIKneNDaa6gUxl48vnxAOlPZVi/h?= =?us-ascii?Q?TVuOzk7rwStqFxdWG1wEgDrZKZ1fm4adaylZKHK/n7dqloKWLll164gqLvdq?= =?us-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D+pAYWaepfhh6HFNBakmF+tAkrh?= =?us-ascii?Q?CCT9bRjumpwx6zhl3uTC3bZKsQdgAPFbUmWgufJOnK7swaO1d4iYWsVqRvNz?= =?us-ascii?Q?jYm/B4LPvAwOllFpLtE29iZ7PsTWsw8gqarq0AOJ?= X-Forefront-PRVS: 0386B406AA X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(7370300001)(6009001)(39840400002)(39860400002)(39450400003)(39400400002)(39850400002)(39410400002)(199003)(53754006)(189002)(377424004)(83506001)(54356999)(305945005)(21086003)(5660300001)(4610100001)(7350300001)(68736007)(478600001)(38730400002)(110136004)(2351001)(6666003)(105586002)(6916009)(55016002)(36756003)(66066001)(2361001)(4326008)(2906002)(106356001)(101416001)(53936002)(97736004)(6116002)(3846002)(7736002)(5000100001)(25786009)(50986999)(568964002)(4001350100001)(33656002)(1076002)(72206003)(81156014)(86362001)(5890100001)(81166006)(84326002)(2476003)(8676002)(189998001)(42186005)(18370500001)(14773001)(2700100001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR0802MB2307; H:arm.com; 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; AM4PR0802MB2307; 23:mcDWlqtqOl61e5TpYTDMPJuOphWFfZkDludfCb1?= =?us-ascii?Q?Fe1w1RAwLhwP5tWhKqeWhq99YcVf/V3C9ezS/uhQGf3a74W2xS5tUIKH964/?= =?us-ascii?Q?0xCeBabX+t3yQ8RbPDIlbJ4D/OR+lNW48JAp/+vzyCeeZof0PsOumbO89vWZ?= =?us-ascii?Q?o698ChMB3iAFtwEKcf1IhYXMvYvnyF6WZ1WHcingM0azd9fou9MdllZ+SLEX?= =?us-ascii?Q?l0dugh+jk3oLjE0HiINAF/snfOR8K/TCUgKFYc1nZZw4Tbkhw7ZHW/edZOKi?= =?us-ascii?Q?JdyB23T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cUQGfNYsvUyinoffhPFAVo5rdWR1O5TVhtRra9F8vO2H/oMWF0NhHScwVV8= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Aug 2017 15:05:18.3086 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0802MB2307 X-IsSubscribed: yes Hi All, real_to_target seems to return the order of the elements in the array differently depending on the endiannes. This undoes the endianness when combining the values back to a HOST_WIDE_INT. Regtested on aach64-none-linux-gnu and aarch64_be-none-linux-gnu and no issues. Thanks, Tamar gcc/ 2017-08-01 Tamar Christina * config/aarch64/aarch64.c (aarch64_reinterpret_float_as_int): Correct endianness. diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index 5a2ad7e9156a6f0389c09470cf1414bff45d8099..84e0c937665a02f06e15ddf334978fe2a0da565f 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -4733,9 +4733,14 @@ aarch64_reinterpret_float_as_int (rtx value, unsigned HOST_WIDE_INT *intval) CONST_DOUBLE_REAL_VALUE (value), REAL_MODE_FORMAT (mode)); - ival = zext_hwi (res[0], 32); - if (GET_MODE_BITSIZE (mode) == GET_MODE_BITSIZE (DFmode)) - ival |= (zext_hwi (res[1], 32) << 32); + if (mode == DFmode) + { + int order = BYTES_BIG_ENDIAN ? 1 : 0; + ival = zext_hwi (res[order], 32); + ival |= (zext_hwi (res[1-order], 32) << 32); + } + else + ival = zext_hwi (res[0], 32); *intval = ival; return true;