From patchwork Fri Dec 18 09:55:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Greenhalgh X-Patchwork-Id: 58635 Delivered-To: patch@linaro.org Received: by 10.112.89.199 with SMTP id bq7csp912072lbb; Fri, 18 Dec 2015 01:55:21 -0800 (PST) X-Received: by 10.98.71.217 with SMTP id p86mr3861937pfi.132.1450432521057; Fri, 18 Dec 2015 01:55:21 -0800 (PST) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id se8si22979252pac.136.2015.12.18.01.55.20 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Dec 2015 01:55:21 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-return-417684-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; spf=pass (google.com: domain of gcc-patches-return-417684-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-417684-patch=linaro.org@gcc.gnu.org; dkim=pass header.i=@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:date :from:to:cc:subject:message-id:mime-version:content-type; q=dns; s=default; b=seUGLReMAon0WJO8nhamcTymE7bc+XHojXKD2nKmafoJY/utkl wuj5korjGJ0iPfC0yKa0oZtLDMoT7igJTP/WMn+FeNJiwYPbksfo5SAItWxd/6Cw /dpwkbAT5+ogFSiJq2sdu+7RCHfFNJTiPnstysuGhff2KQpgcRqVWQhzw= 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:date :from:to:cc:subject:message-id:mime-version:content-type; s= default; bh=Z51DVQ1xRyoHcHO7cwVIUdgxsP4=; b=spW17RJCR3yP+sMhFTyD bVCIFDoIQog9jP97QU7iZ/oIQLgXgiP3y1thw8zt9qkhh+l0oEohcDRSURSbkEMN 7YnN8JVpbvy0NURbvwDk36RtaoM6acH4fY8aqh795RxaYkibSfyFFjSMZkg/1KTY lrADeiQn7uAA5KSRElU/md0= Received: (qmail 43853 invoked by alias); 18 Dec 2015 09:55:08 -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 43840 invoked by uid 89); 18 Dec 2015 09:55:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL, BAYES_00, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=Hx-languages-length:1644, x-patch, xpatch X-HELO: cam-smtp0.cambridge.arm.com Received: from fw-tnat.cambridge.arm.com (HELO cam-smtp0.cambridge.arm.com) (217.140.96.140) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Fri, 18 Dec 2015 09:55:06 +0000 Received: from arm.com (e107456-lin.cambridge.arm.com [10.2.206.78]) by cam-smtp0.cambridge.arm.com (8.13.8/8.13.8) with ESMTP id tBI9t2AA012558; Fri, 18 Dec 2015 09:55:02 GMT Date: Fri, 18 Dec 2015 09:55:02 +0000 From: James Greenhalgh To: gcc-patches@gcc.gnu.org Cc: richard.earnshaw@arm.com, ramana.radhakrishnan@arm.com Subject: [Patch testsuite] Skip gcc.dg/ifcvt-4.c for targets on which it may not work Message-ID: <20151218095459.GA18260@arm.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes This is a multi-part message in MIME format. --------------2.2.0.1.gd394abb.dirty Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit Hi, PR68232 is a testsuite failure for targets with very low branch costs. As the test is looking for if-conversion, it will fail for any subtarget for which the cost of a branch is sufficiently low that if-conversion looks more expensive. In the current implementation this will be any subtarget with an unpredictable branch cost of 0 or 1. I had thought this would be very few targets, but at least powerpc64le and arm can trigger this for particular tuning targets. This patch skips the test on those targets. OK? Thanks, James --- 2015-12-17 James Greenhalgh PR testsuite/68232 * gcc.dg/ifcvt-4.c: Skip for arm*-*-* and powerpc64le*-*-*. --------------2.2.0.1.gd394abb.dirty Content-Type: text/x-patch; name="0001-Patch-testsuite-Skip-gcc.dg-ifcvt-4.c-for-targets-on.patch" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="0001-Patch-testsuite-Skip-gcc.dg-ifcvt-4.c-for-targets-on.patch" --------------2.2.0.1.gd394abb.dirty-- diff --git a/gcc/testsuite/gcc.dg/ifcvt-4.c b/gcc/testsuite/gcc.dg/ifcvt-4.c index 16be2b0..e1c81fb 100644 --- a/gcc/testsuite/gcc.dg/ifcvt-4.c +++ b/gcc/testsuite/gcc.dg/ifcvt-4.c @@ -1,4 +1,6 @@ /* { dg-options "-fdump-rtl-ce1 -O2" } */ +/* { dg-skip-if "Multiple set if-conversion not guaranteed on all subtargets" { "arm*-*-* powerpc64le*-*-*" } {"*"} { "" } } */ + int foo (int x, int y, int a) {