From patchwork Mon Jun 12 12:35:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tamar Christina X-Patchwork-Id: 774589 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 3wmXRk2jz1z9s71 for ; Mon, 12 Jun 2017 22:35:29 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="StqAjDyI"; 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=JYcB2yDZw+/2HHaU85ROe3e120inYCR8HJo8HphNv7+UF3j7l2 5u/zIcQ242OxGjJ8IucoXGplE+kYKAY/j/2MS4iR+8jGIM4Ixmjd39+4+CBRbWP2 h5MXQxTi2sJSbub/2xhkzFdlbeVOQGFMmpArjR05s7374DEOf/iPOOOh4= 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=AVUau9zlZj5YMS547Vc42pAn0TU=; b=StqAjDyIsQWqPvG9xTfm iWuNYMTCNg1vuWwlnG+bZElrgB7sPO2lLS94pBBzPZ6yRdPp5mo21XfsbAC+Povd kTjZI9hGzNTtBfX+UGuMy6Q9pcvbfGdJBchNvk36IMHLoMzI/LQ9Wgo8lf+zUBUH Fc1w8ZzUkKuBJRQ8njtSmB4= Received: (qmail 15470 invoked by alias); 12 Jun 2017 12:35:15 -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 14813 invoked by uid 89); 12 Jun 2017 12:35:14 -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:952, H*c:HHH X-HELO: EUR03-VE1-obe.outbound.protection.outlook.com Received: from mail-eopbgr50088.outbound.protection.outlook.com (HELO EUR03-VE1-obe.outbound.protection.outlook.com) (40.107.5.88) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 12 Jun 2017 12:35:07 +0000 Received: from VI1PR0801MB2031.eurprd08.prod.outlook.com (10.173.74.140) by DB6PR0802MB2536.eurprd08.prod.outlook.com (10.172.251.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1124.9; Mon, 12 Jun 2017 12:35:09 +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; Mon, 12 Jun 2017 12:35:08 +0000 From: Tamar Christina To: GCC Patches CC: nd , Kyrylo Tkachov , Richard Earnshaw , Ramana Radhakrishnan Subject: [GCC][PATCH][ARM][Committed] Disable sdiv_1 test on softfloat targets. Date: Mon, 12 Jun 2017 12:35:08 +0000 Message-ID: authentication-results: arm.com; dkim=none (message not signed) header.d=none; arm.com; dmarc=none action=none header.from=arm.com; x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB6PR0802MB2536; 7:kycawFuRNC8ZU42GfgXKIK6NsQ2H5rT8NPRGUdx/Fhi3oDD+Hbc72HBuloIHfZut/BWUgLSCC/1LzN40u1nlMCu3pxNaFiq+NKUxVD2boOVNPiI562XXDpxY42rU6JnDLrJMsVPRPastDw/RcdcWq+t79qy1Pb3bVAjD6HOgTS8x4y+z19twCAnKrnW2GYv1nALT04PSjr9CGvqJ0ekpwa4Am683PzBe9EirPSmeEwaTn9rEd4LP5uiKi5i62d9teelSrkKqMfGZkX+9BwHvQYtpRp8/LE1pOzO9m4i/xPygkU4QnBA5+5h6mBoJZR9gQiVzFZZLoxq2UbixZ5JeSg== x-ms-traffictypediagnostic: DB6PR0802MB2536: x-ms-office365-filtering-correlation-id: cf3088dd-9de3-443c-7f9a-08d4b18f7612 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(48565401081)(201703131423075)(201703031133081); SRVR:DB6PR0802MB2536; 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)(100000703101)(100105400095)(10201501046)(93006095)(93001095)(3002001)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123562025)(20161123555025)(20161123558100)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DB6PR0802MB2536; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DB6PR0802MB2536; x-forefront-prvs: 03361FCC43 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(39450400003)(39410400002)(39400400002)(39850400002)(39840400002)(39860400002)(53754006)(377424004)(81166006)(50986999)(3280700002)(9686003)(3660700001)(5250100002)(33656002)(189998001)(6916009)(86362001)(53936002)(54356999)(305945005)(2906002)(8936002)(7736002)(14454004)(102836003)(74316002)(5660300001)(8676002)(7696004)(38730400002)(6506006)(54906002)(2900100001)(3846002)(6436002)(4326008)(72206003)(66066001)(25786009)(110136004)(478600001)(99286003)(55016002)(99936001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0802MB2536; H:VI1PR0801MB2031.eurprd08.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jun 2017 12:35:08.2164 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0802MB2536 X-IsSubscribed: yes Hi All, I committed this as r249122 under the GCC obvious rule. This fixes the failing test gcc.target/arm/sdiv_costs_1.c on soft float targets by disabling it on those targets since the div calls aren't expanded. gcc/testsuite/ 2017-06-12 Tamar Christina * gcc.target/arm/sdiv_costs_1.c: Disable on softfloat. 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 76086ab9ce28fceb37a4e8a615a38923fa7b985a..2ef397e22ca1643685ec7af31f76201746df5015 100644 --- a/gcc/testsuite/gcc.target/arm/sdiv_costs_1.c +++ b/gcc/testsuite/gcc.target/arm/sdiv_costs_1.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O3 -march=armv8-a" } */ +/* { dg-require-effective-target arm_hard_vfp_ok } */ /* Both sdiv and udiv can be used here, so prefer udiv. */ int f1 (unsigned char *p)