public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/49006] New: [4.6/4.7 Regression] Missed vectorization due to revision 167531
@ 2011-05-15 18:45 dominiq at lps dot ens.fr
  2011-05-16  9:30 ` [Bug tree-optimization/49006] " rguenther at suse dot de
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-05-15 18:45 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49006

           Summary: [4.6/4.7 Regression] Missed vectorization due to
                    revision 167531
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dominiq@lps.ens.fr
                CC: rguenth@gcc.gnu.org


Created attachment 24250
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24250
source code

On x86_64-apple-darwin10 the attached code (an avatar of the polyhedron test
induct.f90) is no longer properly vectorized after revision 167531:

[macbook] lin/test% /opt/gcc/gcc4.6p-167530/bin/gfortran -Ofast
-ftree-vectorizer-verbose=2 induct_v4.f90
...
induct_v4.f90:1757: note: not vectorized: can't create epilog loop 1.
induct_v4.f90:1766: note: LOOP VECTORIZED.
induct_v4.f90:1711: note: LOOP VECTORIZED.
induct_v4.f90:1633: note: LOOP VECTORIZED.
induct_v4.f90:1449: note: vectorized 3 loops in function.

induct_v4.f90:2168: note: not vectorized: can't create epilog loop 1.
induct_v4.f90:2177: note: LOOP VECTORIZED.
induct_v4.f90:2095: note: LOOP VECTORIZED.
induct_v4.f90:2018: note: LOOP VECTORIZED.
induct_v4.f90:1832: note: vectorized 3 loops in function.
...
[macbook] lin/test% time a.out > /dev/null
12.677u 0.027s 0:12.70 99.9%    0+0k 0+1io 0pf+0w
[macbook] lin/test% /opt/gcc/gcc4.6p-167531/bin/gfortran -Ofast
-ftree-vectorizer-verbose=2 induct_v4.f90
...
induct_v4.f90:1728: note: not vectorized: unsupported use in stmt.
induct_v4.f90:1757: note: not vectorized: unsupported use in stmt.
induct_v4.f90:1711: note: LOOP VECTORIZED.
induct_v4.f90:1633: note: LOOP VECTORIZED.
induct_v4.f90:1449: note: vectorized 2 loops in function.

induct_v4.f90:2168: note: not vectorized: unsupported use in stmt.
induct_v4.f90:2095: note: LOOP VECTORIZED.
induct_v4.f90:2018: note: LOOP VECTORIZED.
induct_v4.f90:1832: note: vectorized 2 loops in function.
...
[macbook] lin/test% time a.out > /dev/null
21.831u 0.031s 0:21.86 100.0%    0+0k 0+0io 0pf+0w


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2011-09-16 15:44 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-15 18:45 [Bug tree-optimization/49006] New: [4.6/4.7 Regression] Missed vectorization due to revision 167531 dominiq at lps dot ens.fr
2011-05-16  9:30 ` [Bug tree-optimization/49006] " rguenther at suse dot de
2011-05-16 10:29 ` dominiq at lps dot ens.fr
2011-05-16 10:50 ` rguenther at suse dot de
2011-05-16 11:39 ` rguenth at gcc dot gnu.org
2011-05-19 12:53 ` irar at il dot ibm.com
2011-05-22 12:46 ` dominiq at lps dot ens.fr
2011-06-27 15:36 ` jakub at gcc dot gnu.org
2011-08-01 14:45 ` rguenth at gcc dot gnu.org
2011-08-01 14:50 ` irar at il dot ibm.com
2011-08-02  8:38 ` rguenther at suse dot de
2011-08-02  9:21 ` irar at il dot ibm.com
2011-08-02  9:25 ` rguenther at suse dot de
2011-09-16 16:19 ` dominiq at lps dot ens.fr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).