From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16890 invoked by alias); 18 May 2012 17:32:39 -0000 Received: (qmail 16872 invoked by uid 22791); 18 May 2012 17:32:37 -0000 X-SWARE-Spam-Status: No, hits=-4.2 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED,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 17:32:24 +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 17:34: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/msg01830.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53346 --- Comment #12 from Uros Bizjak 2012-05-18 16:07:45 UTC --- (In reply to comment #11) > You are right. -ftree-vectorize implies -ftree-loop-if-convert and this option > makes all the difference! > > -O2 -ftree-vectorize: > > real 0m24.061s > user 0m23.789s > sys 0m0.225s > > -O2 -ftree-vectorize -fno-tree-loop-if-convert > > real 0m18.029s > user 0m17.761s > sys 0m0.220s -O2 -ftree-loop-if-convert: real 0m24.034s user 0m23.770s sys 0m0.218s -O2 real 0m18.163s user 0m17.892s sys 0m0.233s