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: 81099 Delivered-To: patch@linaro.org Received: by 10.182.113.165 with SMTP id iz5csp1127601obb; Mon, 7 Nov 2016 06:05:55 -0800 (PST) X-Received: by 10.98.137.21 with SMTP id v21mr14046936pfd.48.1478527555691; Mon, 07 Nov 2016 06:05:55 -0800 (PST) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id t18si31572788pge.118.2016.11.07.06.05.55 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Nov 2016 06:05:55 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-return-440624-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org; spf=pass (google.com: domain of gcc-patches-return-440624-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-440624-patch=linaro.org@gcc.gnu.org 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=wlfYHsab7JbwgyzyJl+ZJjMV/nBQbHPFl7yNNAbrO9twNrqUOi BewVAfh+Q6P0C/rRrslf1CddZqraxGNCqnwt7Wa3DwthZ5rXoR1SerJPcB2TtKxh 5JV+NpS8Kpm2mDrSO+BARr5d7Qga31IgHineR10kR961valm4WbyVjrS0= 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=lOI5kJWU29b/g0M5EDvy zPhsEWnx0pcpVDbTckzduToaLzwxoRzJApXluzgTGh6y/+yf/yvx3vscRAKkNjxw VCPn/CXbN3VTKIDeHUNTmbqnf66QMhDwhqtaUprFD38duv/fmJoPadysdW06+5WZ ItIWB5Evytx6Ba9+M9xUvn4= 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)