https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60955 --- Comment #6 from Manuel López-Ibáñez --- (In reply to Paolo Carlini from comment #5) > This is a regression. Manuel, are you going to pursue the issue further and > send to the mailing list a complete patch? I don't even remember the details of this. The above doesn't actually look like a patch of mine, perhaps the patch that introduced the regression? >From gcc-bugs-return-469542-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 05 12:29:24 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31293 invoked by alias); 5 Dec 2014 12:29:23 -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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 31267 invoked by uid 48); 5 Dec 2014 12:29:20 -0000 From: "cederman at gaisler dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/64193] New: Decreased performance after r173250 Date: Fri, 05 Dec 2014 12:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cederman at gaisler dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cf_gcctarget attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-12/txt/msg00549.txt.bz2 Content-length: 1294 https://gcc.gnu.org/bugzilla/show_bug.cgi?idd193 Bug ID: 64193 Summary: Decreased performance after r173250 Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: cederman at gaisler dot com Target: i686-build_pc-linux-gnu Created attachment 34196 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id4196&actioníit preprocessed source When comparing version 4.4.2 with version 4.9.2 I noticed a performance decrease for the Whetstone benchmark. It seems to have been introduced with r173250. Compiling Whetstone with the latest master (r217599) I get the following numbers: Without r173250: Loops: 5000000, Iterations: 1, Duration: 54 sec. C Converted Double Precision Whetstones: 9259.3 MIPS With r173250: Loops: 5000000, Iterations: 1, Duration: 58 sec. C Converted Double Precision Whetstones: 8620.7 MIPS The assembly output has also increased in size. I have attached a preprocessed copy of the Whetstone benchmark and assembly output for i686-build_pc-linux-gnu compiled with -O3, with and without r173250. Let me know if you need any more information.