From patchwork Tue Jun 13 10:12:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tamar Christina X-Patchwork-Id: 775070 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 3wn5DT0Zg6z9s0g for ; Tue, 13 Jun 2017 20:12:40 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="oOovN6hN"; 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=owPQ25U2vNuoJvtL9TX5RqnKfaD0S+6MNXlikCEOU7ruOtYj78 hCqQGPotL/IRmCNqSHwmdj75k3ya8Wdk1sh6uZmargGkztABHileidHvQJqGoGZT UntkZpti1yBh8zIVO5uYtHqbkgqBvkJpHFSpWnDIQZfZ5oG8McpvpWckY= 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=0HlXQw2fxeJdzPk9dYCU1IysWF8=; b=oOovN6hNgvUS87g72YB5 s8YisArnUZLKub2xWMsyjOdVYrAEyOA9A/VSqg4k4sQKomDgDnAv/Xm3tiCokVWz xjDtISt8xpOaiqno/oK5BaHuSLdBW+DsvuK2SiZKhJ/yeXFq9/Ibg8+tbiNpb4aj lYBw2WKlo5H+ilz/lwOj+L8= Received: (qmail 7137 invoked by alias); 13 Jun 2017 10:12:28 -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 7096 invoked by uid 89); 13 Jun 2017 10:12:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.4 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=Hx-languages-length:944 X-HELO: EUR03-AM5-obe.outbound.protection.outlook.com Received: from mail-eopbgr30080.outbound.protection.outlook.com (HELO EUR03-AM5-obe.outbound.protection.outlook.com) (40.107.3.80) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 13 Jun 2017 10:12:24 +0000 Received: from VI1PR0801MB2031.eurprd08.prod.outlook.com (10.173.74.140) by VI1PR0802MB2543.eurprd08.prod.outlook.com (10.175.20.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1157.12; Tue, 13 Jun 2017 10:12:25 +0000 Received: from VI1PR0801MB2031.eurprd08.prod.outlook.com ([fe80::b9d4:b6e7:35f9:e399]) by VI1PR0801MB2031.eurprd08.prod.outlook.com ([fe80::b9d4:b6e7:35f9:e399%17]) with mapi id 15.01.1157.017; Tue, 13 Jun 2017 10:12:25 +0000 From: Tamar Christina To: GCC Patches CC: nd , Christophe Lyon , "Kyrylo Tkachov" , Ramana Radhakrishnan , Richard Earnshaw Subject: [GCC][PATCH][ARM] Require arm_arch_v8a_ok for sdiv_costs_1.c Date: Tue, 13 Jun 2017 10:12:25 +0000 Message-ID: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Tamar.Christina@arm.com; x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR0802MB2543; 7:PItvrccojLbamFy3gFgp4rQjQR1bfvL4FUAVCoySbNnIzESoYAD6iyLZ//aQMscuEpMUt0tL1TO1i5E3lelj6zYbqivKDFfF666Wb8LIpwXOr7kRx0zwK7ot74g5HEKwz32u/plPd/niMuSU/3IZE1QX2LPmboY58ckdJ5+WvIRzBtq7H8cwyfCP4O2A3AZRc0eqTyV3kmFQSxe3BDoZJno6xh5ZvaZwivvPaXQjFVcNhU1r2QJDlQ6xjCcdvZfG/nladvDTX4Isl0RkG/7WXYvGgI1gDU8HK4UNACzaFRHwH2B5jrZkJPlSK5+2JOofq8mK0bOSg0sOm3fpCxEa1A== x-ms-traffictypediagnostic: VI1PR0802MB2543: x-ms-office365-filtering-correlation-id: a0ac94c7-bfa9-44ef-c1af-08d4b244b06a x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(48565401081)(201703131423075)(201703031133081); SRVR:VI1PR0802MB2543; nodisclaimer: True x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(180628864354917); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(102415395)(6040450)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6041248)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123562025)(20161123564025)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:VI1PR0802MB2543; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:VI1PR0802MB2543; x-forefront-prvs: 0337AFFE9A x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(39410400002)(39840400002)(39450400003)(39850400002)(39400400002)(39860400002)(199003)(53754006)(377424004)(189002)(305945005)(66066001)(74316002)(3280700002)(7696004)(5250100002)(110136004)(102836003)(3846002)(6116002)(2906002)(38730400002)(5660300001)(50986999)(99936001)(105586002)(6916009)(3660700001)(2900100001)(25786009)(8676002)(81156014)(106356001)(54356999)(81166006)(33656002)(54906002)(6436002)(6506006)(97736004)(9686003)(99286003)(558084003)(478600001)(101416001)(4326008)(14454004)(72206003)(86362001)(7736002)(53936002)(68736007)(189998001)(8936002)(55016002)(70780200001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0802MB2543; H:VI1PR0801MB2031.eurprd08.prod.outlook.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) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jun 2017 10:12:25.1045 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0802MB2543 X-IsSubscribed: yes Hi All, This fixes the failing test gcc.target/arm/sdiv_costs_1.c by requiring arm_arch_v8a_ok. OK for trunk? gcc/testsuite/ 2017-06-13 Tamar Christina * gcc.target/arm/sdiv_costs_1.c: Require arm_arch_v8a_ok and add march option. Thanks, Tamar diff --git a/gcc/testsuite/gcc.target/arm/sdiv_costs_1.c b/gcc/testsuite/gcc.target/arm/sdiv_costs_1.c index 3920590dfcce975aaf7cbe7a4d056df203b7ca2e..9d094ac0c1d12193e8db82120d266bae5b5bf297 100644 --- a/gcc/testsuite/gcc.target/arm/sdiv_costs_1.c +++ b/gcc/testsuite/gcc.target/arm/sdiv_costs_1.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-options "-O3" } */ -/* { dg-require-effective-target arm_v8_vfp_ok } */ +/* { dg-options "-O3 -march=armv8-a" } */ +/* { dg-require-effective-target arm_arch_v8a_ok } */ /* Both sdiv and udiv can be used here, so prefer udiv. */ int f1 (unsigned char *p)