From patchwork Mon Aug 14 10:29:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Szabolcs Nagy X-Patchwork-Id: 801134 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-460301-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="OYU6FLiD"; 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 3xWBjW66Yhz9sQl for ; Mon, 14 Aug 2017 20:31:25 +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 :message-id:date:from:mime-version:to:cc:subject:content-type; q=dns; s=default; b=B5Yx34TL4DjHnIQ/qVhd1Rc9LAyoXTLnyA5dygY6EpH P8ot0LBotK35BCfYxretL1F5ZSmBC0x1OPJlinbldNmPuJ8Gtlf7SEYzbUSiniyw 65OjCuns3zRuqvqyEWZYIs74y2VmYmcXcaxcIgxoYsofVr0iuOl6M4WXUGsMFlXE = 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 :message-id:date:from:mime-version:to:cc:subject:content-type; s=default; bh=UZ9g2hH52p72RMXnff8KN/+iHxU=; b=OYU6FLiDlsmz9jnNz B0o1tlNiaD1XnOJ9cUKT6Kci00VZWQ7AGI/hEkpch9deLB2KD4hCCn8yfkxnihJF yXFByM7G1hCbkCe1xBc3LDHe5gjY6smHi64uDWflb7fRyiHrtHIG3fjUeKsYVN6B kDugvXP1LY21n9XfG3GJpFsmnU= Received: (qmail 85838 invoked by alias); 14 Aug 2017 10:31:09 -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 116909 invoked by uid 89); 14 Aug 2017 10:30:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.6 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=Tiny X-HELO: EUR01-HE1-obe.outbound.protection.outlook.com Received: from mail-he1eur01on0061.outbound.protection.outlook.com (HELO EUR01-HE1-obe.outbound.protection.outlook.com) (104.47.0.61) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 14 Aug 2017 10:30:03 +0000 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Szabolcs.Nagy@arm.com; Received: from [10.2.206.69] (217.140.96.140) by AM5PR0802MB2482.eurprd08.prod.outlook.com (2603:10a6:203:98::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1341.21; Mon, 14 Aug 2017 10:29:59 +0000 Message-ID: <59917BA5.5040300@arm.com> Date: Mon, 14 Aug 2017 11:29:57 +0100 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: "gcc-patches@gcc.gnu.org" CC: nd@arm.com Subject: [PATCH committed][AArch64] Fix dbl_mov_immediate_1.c test X-ClientProxiedBy: DB6PR0501CA0012.eurprd05.prod.outlook.com (2603:10a6:4:8f::22) To AM5PR0802MB2482.eurprd08.prod.outlook.com (2603:10a6:203:98::23) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f0467577-e9cb-4f2b-ec46-08d4e2ff6a8b X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(300000502095)(300135100095)(22001)(2017030254152)(48565401081)(300000503095)(300135400095)(49563074)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:AM5PR0802MB2482; X-Microsoft-Exchange-Diagnostics: 1; AM5PR0802MB2482; 3:xsWpkuylUeXJQ94dPQkXUdqrPOsYTkn2xt9sXsZ+hU14f+MeqwSpXaq1qD+M+PSqdyJgBSQWjQZ6xiG31wH9qwtwn+s5OYSRtHKBMzoL6usASXGpvD4ZbQkpBXnNiy1TkIFYHi+ug9YhryoRsHKlaMUeAZEdJ0a4M94aW+Kx/JVar8rZusiMDg8ayR+jk5f7n0uYlDPpNMV1hQI37mI70xPLegEaI/NxBGnRHLyUeGXcMX3GOF+aw8gCcah0QYup; 25:hcXLraSBSDyCti6RDDPHz2SaW7oe9XlEdgFOOFooMSmaq4t/2Uydrb7Y4mJkNAdUZXBV4O29pSeLakGsweK94mxNUTgG6RLM5XV+S25VDyLZjs2ryUql9GKdduGPTu2UDIDBPSeSGQQv+v5atWFCYcSGUBLMv1SOAX3EQjVsXp26z+lzchHOzoFuS9u044i+xRsnjWJQD68ExPY8jg1qw2qKQ3lQupb4JLXyrmS8zOzmqTbUBN9YzCXjuBsYH5BS0O3iiuFozRfAs+Z7BMt64GECZUXuXpeFwtCA7NoUOAVAwJFMIingpWg+eMYqTuKpMBWXSM9L5DpB47GhLAbMTQ==; 31:7ALodrXteLtU6BFisFzIiBMLXozA1XS+TTdsX1wQlZs1g7ZPTK/6u1kuMIzjqgQqmHARWKtCrnMV3bGJpHO6fMjAiEEMHBZEbaCQ/4WVPmQuCvUUWFS3vgDYj1Gc1A5SmkYk+brHhmPEILgorxytQbEOrkvVgbFhPkJT4XEImH9+SKvswdGeDMJdpba3OG+kdR5JbABC9rgzn97fPXH6dzBE6T51/F2mStcxBxiEv5g= X-MS-TrafficTypeDiagnostic: AM5PR0802MB2482: NoDisclaimer: True X-Microsoft-Exchange-Diagnostics: 1; AM5PR0802MB2482; 20:EldAn0uXaP/xjVY2ezX5k3opeKFx0z57sn3HsTD9m5X4uUqYocZq4g7G5ArtRKLz1hDmLJRaLax48BRxpgRQs+t3PPRHo9faxaxJaE2/xI+83/dOVTLALr7/pHiDFjF5GWFKVb7u9lwJ0PC2YPgc90/6Cz2Qe8znSSIOSKUt698=; 4:sVjEPD8wDSx+VSrX6g9+INKmKuLuN9gQRddrEmcVV6QIHvz3wy2NXp8xOrEExRC0ZtCqxtyU5TbLoqsUTrInGoNAzpuqBM4oIV1s5DIjI4Jf2eBhAcAm8RjyqX99ANC+hjSRPNipaGy5nJ6xwDx8PqKeaoVFIVPyJS5uM12vfPBRGCya7UhgHORrjJFvjZ598AH/cNRmZqMhZ6dlglpWoWx+mKSFmToxeNhB4CQgfz7aqz6plq+QgmgIHdZjuZSntS9rW/VhQnSBF7zi+qEQMIzcfzW1amIOIMFl/oMzCrg= X-Exchange-Antispam-Report-Test: UriScan:(180628864354917); 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)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6041248)(20161123560025)(20161123562025)(20161123558100)(20161123555025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:AM5PR0802MB2482; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:AM5PR0802MB2482; X-Forefront-PRVS: 039975700A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(7370300001)(6049001)(6009001)(39860400002)(189002)(199003)(54534003)(377424004)(2351001)(4610100001)(59896002)(21490400003)(7350300001)(7736002)(5000100001)(6916009)(42186005)(2906002)(4326008)(106356001)(305945005)(25786009)(8676002)(3846002)(6116002)(564344004)(105586002)(110136004)(99136001)(86362001)(478600001)(33656002)(2476003)(5890100001)(80316001)(270700001)(568964002)(5640700003)(2501003)(97736004)(64126003)(4001350100001)(189998001)(81156014)(68736007)(81166006)(65816999)(66066001)(87266999)(65806001)(77096006)(6486002)(36756003)(54356999)(72206003)(53936002)(65956001)(101416001)(83506001)(5660300001)(50986999)(84326002)(14773001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM5PR0802MB2482; H:[10.2.206.69]; 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; AM5PR0802MB2482; 23:5weCqUw5PkiQvKvOwljx3psT41csGBE9pSl9aXo?= =?us-ascii?Q?yX6AukLakIaYwUcLZ5KK7F3mBFZO2KO6A5VRcJqXJ9O2AmJ0ZC2TypTUZguq?= =?us-ascii?Q?GBWV9KkqvwJQPHv+vzXBPrmwZiiikTW2SsNboe6CuOutO1464GXwjVmLoSiH?= =?us-ascii?Q?HM1i6UsPA0s4k4jV1E2grKRGRdvDNkfdxQCy084UfIkwkjvOjZ/GVG3NfMmu?= =?us-ascii?Q?g4PutLHs2T988RkSS3mhGBy+QXFBp95+tDQStvI7ibcsgCAPw8YaRqkVovFt?= =?us-ascii?Q?U7MWPTpEeahELmZ1PyDdFglDjoZLfCaGtHsZ4lY1h5hOa5Ul95n1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u/IjE7jADnOStCMCqyS9pWlxrm/shZ4rlYDayZ9Zpwx3IRp51mkGXyTlgdvMwxN78BHQglHnIakM1EvsF3P/2ll5AZoTQ4v28D40x+utzboeQXhzYOXuIzwqaGrkYr9BSkB0tG+w5B11tr2Pdk+r2yC1UZhLpernJxdSVnjL4AnvKTtMtpd4T1zDdw1BQw9NnXbUgX6FPgw9nECRRPf14A5E5ricFJukaZ0w/pDjo= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Aug 2017 10:29:59.5675 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0802MB2482 X-IsSubscribed: yes Make sure adrp is used for literal loads. committed as obvious. gcc/testsuite/ChangeLog: 2017-08-14 Szabolcs Nagy * gcc.target/aarch64/dbl_mov_immediate_1.c: Add -mno-pc-relative-literal-loads. diff --git a/gcc/testsuite/gcc.target/aarch64/dbl_mov_immediate_1.c b/gcc/testsuite/gcc.target/aarch64/dbl_mov_immediate_1.c index e8dd01db056..ba6a230457b 100644 --- a/gcc/testsuite/gcc.target/aarch64/dbl_mov_immediate_1.c +++ b/gcc/testsuite/gcc.target/aarch64/dbl_mov_immediate_1.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O3" } */ +/* { dg-options "-O3 -mno-pc-relative-literal-loads" } */ /* { dg-skip-if "Tiny model won't generate adrp" { *-*-* } { "-mcmodel=tiny" } { "" } } */ double d0(void)