From patchwork Mon Nov 7 14:05:27 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tamar Christina X-Patchwork-Id: 691930 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 3tCDk728t1z9t1b for ; Tue, 8 Nov 2016 01:05:50 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="caZsh/M3"; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:content-type:mime-version; q=dns; s=default; b=V2JQrlt4KE+unkrgE56cEatdDucO2wuCwRyHcscjnn7wjmYRO3 +JKaKle9obaS1f5iCN+qVfzVPKuzc3ZyDaJUifv5uwfMP1ZpJZk3Jydm6WprgvHM /iClufj6kQ6jratWHzWI7126Vd1bi+6Mwam27+ywgm/fRJu8vgVja9hno= 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:from :to:cc:subject:date:message-id:content-type:mime-version; s= default; bh=t4DcnwEFTBQzYty5M8siGBadyh8=; b=caZsh/M3I+3eY0yLTxra bUdMM4d4H81wG/sufkiLCBDdZRo9hz7yQHsK2DyR+WayckuonBfKZ3Lymo6OyUwu vg3RQQU/toIChaYFOrl5/DoY4TnDZb1DYwDYEAgaYl2Og5yv/X1qz43VofXpLE07 uvfiuC95KklUelz5/wtkGyk= Received: (qmail 84992 invoked by alias); 7 Nov 2016 14:05:42 -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 84975 invoked by uid 89); 7 Nov 2016 14:05:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 spammy=H*c:HHH X-HELO: EUR01-HE1-obe.outbound.protection.outlook.com Received: from mail-he1eur01on0062.outbound.protection.outlook.com (HELO EUR01-HE1-obe.outbound.protection.outlook.com) (104.47.0.62) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 07 Nov 2016 14:05:31 +0000 Received: from VI1PR0801MB2031.eurprd08.prod.outlook.com (10.173.74.140) by VI1PR0801MB2094.eurprd08.prod.outlook.com (10.173.75.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.707.6; Mon, 7 Nov 2016 14:05:27 +0000 Received: from VI1PR0801MB2031.eurprd08.prod.outlook.com ([10.173.74.140]) by VI1PR0801MB2031.eurprd08.prod.outlook.com ([10.173.74.140]) with mapi id 15.01.0707.006; Mon, 7 Nov 2016 14:05:27 +0000 From: Tamar Christina To: GCC Patches , James Greenhalgh , Richard Earnshaw , Marcus Shawcroft CC: nd Subject: [GCC][AArch64][PATCH][Testsuite] Fix failing test vector_initialization_nostack.c Date: Mon, 7 Nov 2016 14:05:27 +0000 Message-ID: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Tamar.Christina@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-office365-filtering-correlation-id: 0ae141f4-434c-42e4-b46c-08d407172083 x-microsoft-exchange-diagnostics: 1; VI1PR0801MB2094; 7:JpguEr/uVvXiNb3x9w89ZBfih8iJ7ujguShnkPy8h30A1wLbXGC38SBhDyZ+g6D/vUPNiwB/DaYDkcM95rf2ffJsePDxj8qvdukaGagdyud60jmIFHmG06S35QgB5zPr5HQ87qmm5DFGWC0VvDIKQkoYoEOhO60y/Iwb68O5A8Mriq/7+8rqY6bP5ILehIDqAdjjFvZ2rjcehHMjdhZMNSE/yPIywV26GhzHFkULt27ryljA5KsilwDSR+1BALdl8QgnmiqWcM9QdY3mjWmUym926Bg34WZ+7ZArV1xKE1RxmrEb10ThoUziO3ymskkn+MR6WWujg5u/C1kc4SX57K/ok1qKmcKCZ0bB+vGHKpQ= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:VI1PR0801MB2094; nodisclaimer: True x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(180628864354917); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(102415321)(6040176)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6055026); SRVR:VI1PR0801MB2094; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0801MB2094; x-forefront-prvs: 0119DC3B5E x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(7916002)(189002)(53754006)(377424004)(199003)(68736007)(77096005)(2900100001)(7696004)(6636002)(66066001)(5002640100001)(101416001)(10400500002)(19580395003)(5660300001)(74316002)(97736004)(3660700001)(11100500001)(19580405001)(586003)(4326007)(5001770100001)(76576001)(9686002)(81166006)(81156014)(122556002)(8676002)(86362001)(6116002)(102836003)(7736002)(3846002)(106116001)(106356001)(2906002)(92566002)(33656002)(7846002)(3280700002)(87936001)(54356999)(50986999)(450100001)(99936001)(229853001)(8936002)(189998001)(305945005)(105586002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0801MB2094; H:VI1PR0801MB2031.eurprd08.prod.outlook.com; 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) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Nov 2016 14:05:27.4024 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0801MB2094 X-IsSubscribed: yes Hi all, This fixes (PR78142) by turning off scheduling for the test. r241590 is causing more registers to be used and so the SP registered happens to be picked and used. This test I believe was checking explicitly that the SP is not used if not needed. Ran regression tests on aarch64-none-linux-gnu. Ok for trunk? Thanks, Tamar gcc/testsuite/ 2016-11-07 Tamar Christina PR middle-end/78142 * gcc.target/aarch64/vector_initialization_nostack.c (dg-options): Disabled scheduling. diff --git a/gcc/testsuite/gcc.target/aarch64/vector_initialization_nostack.c b/gcc/testsuite/gcc.target/aarch64/vector_initialization_nostack.c index bbad04d00263b6a91b826b4911af92bdd226c821..71699281c5ce79fb5cf37e47b8ba078721c19f3a 100644 --- a/gcc/testsuite/gcc.target/aarch64/vector_initialization_nostack.c +++ b/gcc/testsuite/gcc.target/aarch64/vector_initialization_nostack.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O3 -ftree-vectorize -fno-vect-cost-model" } */ +/* { dg-options "-O3 -ftree-vectorize -fno-vect-cost-model -fno-schedule-insns" } */ float arr_f[100][100]; float f9 (void)