From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3370 invoked by alias); 18 May 2012 15:12:51 -0000 Received: (qmail 3362 invoked by uid 22791); 18 May 2012 15:12:50 -0000 X-SWARE-Spam-Status: No, hits=-4.1 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED,TW_VL,TW_ZJ 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; Fri, 18 May 2012 15:12:37 +0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/53346] [4.6/4.7/4.8 Regression] Bad vectorization in the proc cptrf2 of rnflow.f90 Date: Fri, 18 May 2012 15:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.0 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 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: 2012-05/txt/msg01823.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53346 --- Comment #10 from Uros Bizjak 2012-05-18 15:11:53 UTC --- (In reply to comment #8) > (In reply to comment #7) > > Fixed. > > Unfortunately, the loop in original rnflow test still gets vectorized, with no > change in the runtime: With -O2 -ftree-loop-distribute-patterns -ftree-vectorize, the runtime is still the same: Each sample counts as 0.01 seconds. % cumulative self self total time seconds seconds calls s/call s/call name 43.76 9.70 9.70 64 0.15 0.15 cptrf2_ 40.69 18.72 9.02 6685 0.00 0.00 trs2a2.2054 7.35 20.35 1.63 64 0.03 0.03 gentrs_ 2.21 20.84 0.49 64 0.01 0.01 cptrf1_ 1.44 21.16 0.32 1 0.32 12.32 matsim_ 1.17 21.42 0.26 6685 0.00 0.00 invima.2045 0.81 21.60 0.18 64 0.00 0.00 cmpcpt_ 0.54 21.72 0.12 1 0.12 9.85 evlrnf_