From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15559 invoked by alias); 25 Mar 2011 10:46:19 -0000 Received: (qmail 15548 invoked by uid 22791); 25 Mar 2011 10:46:18 -0000 X-SWARE-Spam-Status: No, hits=-2.9 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; Fri, 25 Mar 2011 10:46:14 +0000 From: "sebastian.hegler@tu-dresden.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/37021] Fortran Complex reduction / multiplication not vectorized 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: alias, missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: sebastian.hegler@tu-dresden.de X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC 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: Fri, 25 Mar 2011 11:49: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-03/txt/msg02622.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37021 sebastian.hegler@tu-dresden.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian.hegler@tu-dresden | |.de --- Comment #10 from sebastian.hegler@tu-dresden.de 2011-03-25 10:45:47 UTC --- This one, as well as PR 33133, should be handled by "-floop-interchange". Fortran is row-major, so interchanging inner and outer loop would allow the loops to be coalesced into one, which in turn should be easily vectorized (if complex numbers can be vectorized, see PR 40770). Can you please give me some hints on how to find out if "-floop-interchange" actually does that? Thanks!