From patchwork Thu Mar 5 09:56:42 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Krebbel X-Patchwork-Id: 446662 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 250E4140142 for ; Thu, 5 Mar 2015 20:56:57 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass reason="1024-bit key; unprotected key" header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=NGIS6R3e; dkim-adsp=none (unprotected policy); 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:date :from:to:subject:message-id:mime-version:content-type; q=dns; s= default; b=XSVEvibXOINuEBkzf8asICEuUl1Z47bs6drg2vI9m6t5hKlTn078C SKKC9hErtVR8YUWLDNLNI+qQd6iDa+BQ9IMLLJNlbDtAS4Vhc80g0jQFGWaSOSil +Zc4JqB58R1w6bZCylXHouus+UKhR05Iy7TcOiYoHkK/zwkb1tkPcg= 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:subject:message-id:mime-version:content-type; s= default; bh=0SdsDUkqyQw8ErSU6shV7txOaoA=; b=NGIS6R3e7xCZd6tJchTM bqmAFr0PCkeUoBdKlgD4js6fYwetwdHPqUq43c0rE58r+TLVLv9Q6IRXy7PtGPfZ gsC7nOmIN3RrvBzigVrMWIDvXk2cxN/hu983X9yZMLg0rfQx2hysTbRFWtdBnFCY byWOcdxFOVUGjBVbGeOIF4Q= Received: (qmail 108204 invoked by alias); 5 Mar 2015 09:56:50 -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 108195 invoked by uid 89); 5 Mar 2015 09:56:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: e06smtp11.uk.ibm.com Received: from e06smtp11.uk.ibm.com (HELO e06smtp11.uk.ibm.com) (195.75.94.107) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Thu, 05 Mar 2015 09:56:49 +0000 Received: from /spool/local by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 5 Mar 2015 09:56:46 -0000 Received: from d06dlp02.portsmouth.uk.ibm.com (9.149.20.14) by e06smtp11.uk.ibm.com (192.168.101.141) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 5 Mar 2015 09:56:44 -0000 Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id 0CD8A219004D for ; Thu, 5 Mar 2015 09:56:36 +0000 (GMT) Received: from d06av09.portsmouth.uk.ibm.com (d06av09.portsmouth.uk.ibm.com [9.149.37.250]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t259ui0q4063708 for ; Thu, 5 Mar 2015 09:56:44 GMT Received: from d06av09.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av09.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t259uhiY021746 for ; Thu, 5 Mar 2015 02:56:43 -0700 Received: from bart (dyn-9-152-212-204.boeblingen.de.ibm.com [9.152.212.204]) by d06av09.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with SMTP id t259ugZG021693 for ; Thu, 5 Mar 2015 02:56:42 -0700 Received: by bart (sSMTP sendmail emulation); Thu, 05 Mar 2015 10:56:42 +0100 Date: Thu, 5 Mar 2015 10:56:42 +0100 From: Andreas Krebbel To: gcc-patches@gcc.gnu.org Subject: [Committed] S/390: var-expand1 use default values for peel/unroll limits Message-ID: <20150305095642.GA16806@maggie> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15030509-0041-0000-0000-00000395BC23 X-IsSubscribed: yes Hi, with -march=z10 we use much higher values for peel and unroll limits. This makes the loop in the testcase to disappear on tree level already. With the patch these values are set back to the default values making the testcase to pass again. Committed to mainline Bye, -Andreas- 2015-03-05 Andreas Krebbel * gcc.dg/var-expand1.c: Force max-completely-peel-times and max-unroll-times back to defaults for s390. diff --git a/gcc/testsuite/gcc.dg/var-expand1.c b/gcc/testsuite/gcc.dg/var-expand1.c index 7de4cfb..fb039d3 100644 --- a/gcc/testsuite/gcc.dg/var-expand1.c +++ b/gcc/testsuite/gcc.dg/var-expand1.c @@ -3,6 +3,7 @@ targets, where each addition is a library call. */ /* { dg-require-effective-target hard_float } */ /* { dg-options "-O2 -funroll-loops --fast-math -fvariable-expansion-in-unroller -fdump-rtl-loop2_unroll" } */ +/* { dg-additional-options "--param max-completely-peel-times=16 --param max-unroll-times=8" { target s390*-*-* } } */ extern void abort (void);