From patchwork Thu Sep 30 22:44:29 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jack Howarth X-Patchwork-Id: 66283 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]) by ozlabs.org (Postfix) with SMTP id EF891B6F0D for ; Fri, 1 Oct 2010 08:44:48 +1000 (EST) Received: (qmail 15543 invoked by alias); 30 Sep 2010 22:44:41 -0000 Received: (qmail 15532 invoked by uid 22791); 30 Sep 2010 22:44:40 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from bromo.med.uc.edu (HELO bromo.med.uc.edu) (129.137.3.146) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Thu, 30 Sep 2010 22:44:36 +0000 Received: from bromo.med.uc.edu (localhost.localdomain [127.0.0.1]) by bromo.med.uc.edu (Postfix) with ESMTP id 80C3A400008; Thu, 30 Sep 2010 18:44:34 -0400 (EDT) Received: (from howarth@localhost) by bromo.med.uc.edu (8.14.3/8.14.3/Submit) id o8UMiTR2000372; Thu, 30 Sep 2010 18:44:29 -0400 Date: Thu, 30 Sep 2010 18:44:29 -0400 From: Jack Howarth To: Sebastian Pop Cc: gcc-patches@gcc.gnu.org, gcc-graphite Subject: Re: [PATCH 00/44] Merge changes from Graphite branch to trunk Message-ID: <20100930224429.GA359@bromo.med.uc.edu> References: <1285869696-10915-1-git-send-email-sebpop@gmail.com> <20100930220454.GA32633@bromo.med.uc.edu> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) 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 On Thu, Sep 30, 2010 at 05:18:03PM -0500, Sebastian Pop wrote: > On Thu, Sep 30, 2010 at 17:04, Jack Howarth wrote: > >    What are the prospects for getting PR40979 fixed? > > > PR40979: induct benchmark 60% slower when compiled with -fgraphite-identity > > Is this still a problem? Could you try to measure the perf with trunk? > > Thanks, > Sebastian Sebastian, gfortran -ffast-math -funroll-loops -msse3 -O3 induct.f90 -o induct time ./induct 20.290u 0.029s 0:20.37 99.7% 0+0k 0+1io 0pf+0w gfortran -ffast-math -funroll-loops -msse3 -O3 -fno-graphite-identity induct.f90 -o induct time ./induct 12.761u 0.025s 0:12.78 100.0% 0+0k 0+0io 0pf+0w for current gcc trunk built with... Jack Index: gcc/opts.c =================================================================== --- gcc/opts.c (revision 164815) +++ gcc/opts.c (working copy) @@ -804,6 +804,9 @@ /* -O2 optimizations. */ opt2 = (optimize >= 2); +#ifdef HAVE_cloog + flag_graphite_identity = opt2; +#endif flag_inline_small_functions = opt2; flag_indirect_inlining = opt2; flag_partial_inlining = opt2;