From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2109 invoked by alias); 20 Dec 2016 17:40:52 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 2090 invoked by uid 89); 20 Dec 2016 17:40:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_50,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=Hx-languages-length:943, U*pthaugen, sk:pthauge, pthaugen@us.ibm.com X-HELO: gate.crashing.org Received: from gate.crashing.org (HELO gate.crashing.org) (63.228.1.57) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 20 Dec 2016 17:40:49 +0000 Received: from gate.crashing.org (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.13.8) with ESMTP id uBKHejBr023931; Tue, 20 Dec 2016 11:40:45 -0600 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id uBKHei8J023930; Tue, 20 Dec 2016 11:40:44 -0600 Date: Tue, 20 Dec 2016 18:17:00 -0000 From: Segher Boessenkool To: Pat Haugen Cc: GCC Patches Subject: Re: [PATCH, testsuite] Add -fno-sched-pressure to a couple sms-*.c tests for powerpc Message-ID: <20161220174044.GE11295@gate.crashing.org> References: <987c1aaa-ae0f-54aa-ac7f-20ab6305da0e@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <987c1aaa-ae0f-54aa-ac7f-20ab6305da0e@linux.vnet.ibm.com> User-Agent: Mutt/1.4.2.3i X-IsSubscribed: yes X-SW-Source: 2016-12/txt/msg01731.txt.bz2 On Tue, Dec 20, 2016 at 11:26:02AM -0600, Pat Haugen wrote: > gcc.dg/sms-3.c and gcc.dg/sms-6.c fail on powerpc when -fsched-pressure is used. The -fsched-pressure option changes the value returned by rs6000_issue_rate which in turn affects the computed initiation interval in the SMS code and leads to failure to modulo schedule the single loop in sms-3.c and 1 of the 3 loops in sms-6.c. This patch adds that option for powerpc and is a precursor to a patch I'll submit shortly that enables -fsched-pressure by default for the rs6000 port. > > I have verified the updated tests pass both before and after my patch to enable -fsched-pressure is applied. Ok for trunk? Yes please. Thanks, Segher > testsuite/ChangeLog: > 2016-12-20 Pat Haugen > > * gcc.dg/sms-3.c: Add -fno-sched-pressure for powerpc. > * gcc.dg/sms-6.c: Likewise.