public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/56935] New: Basic block is not SLP-vectorizeed after r197635.
@ 2013-04-12 13:58 ysrumyan at gmail dot com
  2013-04-12 14:01 ` [Bug tree-optimization/56935] " ysrumyan at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: ysrumyan at gmail dot com @ 2013-04-12 13:58 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 56935
           Summary: Basic block is not SLP-vectorizeed after r197635.
    Classification: Unclassified
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ysrumyan@gmail.com


It looks that after cost model changing some performance opportunities were
lost.
It can be seen for the attached test-case:

before this change
t.c:29: note: Cost model analysis: 
  Vector inside of basic block cost: 5
  Vector prologue cost: 0
  Vector epilogue cost: 0
  Scalar cost of basic block: 6
t.c:29: note: Basic block will be vectorized using SLP
 after this change
t.c:29: note: Cost model analysis: 
  Vector inside of basic block cost: 5
  Vector prologue cost: 1
  Vector epilogue cost: 0
  Scalar cost of basic block: 6
t.c:29: note: not vectorized: vectorization is not profitable.

Note that this test was extracted from 253.perlbench (spec2000) for which we
got -4.5% performance degradation on corei7 (with avx).


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

end of thread, other threads:[~2013-04-22 14:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-12 13:58 [Bug tree-optimization/56935] New: Basic block is not SLP-vectorizeed after r197635 ysrumyan at gmail dot com
2013-04-12 14:01 ` [Bug tree-optimization/56935] " ysrumyan at gmail dot com
2013-04-15 10:27 ` rguenth at gcc dot gnu.org
2013-04-15 14:54 ` ysrumyan at gmail dot com
2013-04-16  7:48 ` rguenther at suse dot de
2013-04-22 14:47 ` rguenth at gcc dot gnu.org

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).