From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23237 invoked by alias); 1 Feb 2011 21:19:38 -0000 Received: (qmail 23227 invoked by uid 22791); 1 Feb 2011 21:19:38 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 01 Feb 2011 21:19:33 +0000 From: "howarth at nitro dot med.uc.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/40979] induct benchmark 60% slower when compiled with -fgraphite-identity X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: howarth at nitro dot med.uc.edu X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: spop at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Tue, 01 Feb 2011 21:19:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-02/txt/msg00187.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40979 --- Comment #20 from Jack Howarth 2011-02-01 20:15:49 UTC --- FYI, the patches in Comment 14 and 17 when also used with the patch... Index: opts.c =================================================================== --- opts.c (revision 167318) +++ opts.c (working copy) @@ -462,6 +462,9 @@ { OPT_LEVELS_1_PLUS, OPT_fcombine_stack_adjustments, NULL, 1 }, /* -O2 optimizations. */ +#ifdef HAVE_cloog + { OPT_LEVELS_2_PLUS, OPT_fgraphite_identity, NULL, 1 }, +#endif { OPT_LEVELS_2_PLUS, OPT_finline_small_functions, NULL, 1 }, { OPT_LEVELS_2_PLUS, OPT_findirect_inlining, NULL, 1 }, { OPT_LEVELS_2_PLUS, OPT_fpartial_inlining, NULL, 1 }, shows that the vect.exp failures (PR 47048) for -fgraphite-identity at -O2 are reduced from the previous 129 at -m32 to only 24! So close to perfection...