From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29826 invoked by alias); 13 Mar 2012 17:08:27 -0000 Received: (qmail 29815 invoked by uid 22791); 13 Mar 2012 17:08:25 -0000 X-SWARE-Spam-Status: No, hits=0.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,DATE_IN_PAST_03_06,GARBLED_SUBJECT,SARE_HEAD_8BIT_SPAM,SARE_SUB_ENC_UTF8,TW_SV 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, 13 Mar 2012 17:08:13 +0000 From: "vbyakovl23 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/52580] New: [4.8 Regression] 171.=?UTF-8?Q?swim=20performance=20drop=20on=20x86=20=E2=80=93=20vectorization=20doesn=E2=80=99t=20happen=20anymore?= Date: Tue, 13 Mar 2012 17:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vbyakovl23 at gmail 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-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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-03/txt/msg01181.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D52580 Bug #: 52580 Summary: [4.8 Regression] 171.swim performance drop on x86 =E2= =80=93 vectorization doesn=E2=80=99t happen anymore Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned@gcc.gnu.org ReportedBy: vbyakovl23@gmail.com Regression could be seen on Sandy Bridge. Change set analysis points to com= mit=20 commit 95539e1deabbaa9dbc84b1d81ce6d0c8e7156a0f Author: rguenth Date: Fri Mar 2 14:58:55 2012 +0000 2012-03-02 Richard Guenther PR tree-optimization/52406 * tree-data-ref.h: Update documentation about DR_BASE_OBJECT. (struct indices): Add unconstrained_base member. (struct dr_alias): Remove unused vops member. (DR_UNCONSTRAINED_BASE): New define. * tree-data-ref.c (dr_analyze_indices): For COMPONENT_REFs add indices to allow their disambiguation. Make DR_BASE_OBJECT be an artificial access that covers the whole indexed object, or mark it with DR_UNCONSTRAINED_BASE if we cannot do so. Canonica= lize plain decl base-objects to their MEM_REF variant. (dr_may_alias_p): When the base-object of either data reference has unknown size use only points-to information. (compute_affine_dependence): Make dumps easier to read and more verbose. * tree-vect-data-ref.c (vector_alignment_reachable_p): Use DR_REF when looking for packed references. (vect_supportable_dr_alignment): Likewise. * gcc.dg/torture/pr52406.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184789 138bc75d-0d04-0410-961f-82ee72b054a4 There are vectorizer problems. Vectorization doesn=E2=80=99t happened for t= he hottest routines calc2() and calc3(). Command line to reproduce gfortran -g -static -m32 -S -O3 -funroll-loops -msse2 -mfpmath=3Dsse -ffast= -math -march=3Dcorei7 swim.f gcc =E2=80=93v Using built-in specs. COLLECT_GCC=3D/gnumnt/msticlxl16_users/vbyakovl/workspaces/619/install-exp/= bin/gcc COLLECT_LTO_WRAPPER=3D/gnumnt/msticlxl16_users/vbyakovl/workspaces/619/inst= all-exp/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.8.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../gcc/configure --prefix=3D/export/users/vbyakovl/workspaces/619/install-exp --disable-boot= strap --enable-languages=3Dc,c++,fortran CFLAGS=3D-g3=20 Thread model: posix gcc version 4.8.0 20120312 (experimental) (GCC)