public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/41115] Tree-vectorizer: VecCost tuning for X2: Without vectorization 30% faster
       [not found] <bug-41115-4@http.gcc.gnu.org/bugzilla/>
@ 2012-07-13  8:37 ` rguenth at gcc dot gnu.org
  2012-11-13 18:44 ` ubizjak at gmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-07-13  8:37 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |53947

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-07-13 08:37:32 UTC ---
Link to vectorizer missed-optimization meta-bug.


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

* [Bug middle-end/41115] Tree-vectorizer: VecCost tuning for X2: Without vectorization 30% faster
       [not found] <bug-41115-4@http.gcc.gnu.org/bugzilla/>
  2012-07-13  8:37 ` [Bug middle-end/41115] Tree-vectorizer: VecCost tuning for X2: Without vectorization 30% faster rguenth at gcc dot gnu.org
@ 2012-11-13 18:44 ` ubizjak at gmail dot com
  2013-03-27 12:38 ` rguenth at gcc dot gnu.org
  2013-03-28 23:08 ` burnus at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: ubizjak at gmail dot com @ 2012-11-13 18:44 UTC (permalink / raw)
  To: gcc-bugs


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

Uros Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |venkataramanan.kumar at amd
                   |                            |dot com

--- Comment #2 from Uros Bizjak <ubizjak at gmail dot com> 2012-11-13 18:44:22 UTC ---
Adding CC.


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

* [Bug middle-end/41115] Tree-vectorizer: VecCost tuning for X2: Without vectorization 30% faster
       [not found] <bug-41115-4@http.gcc.gnu.org/bugzilla/>
  2012-07-13  8:37 ` [Bug middle-end/41115] Tree-vectorizer: VecCost tuning for X2: Without vectorization 30% faster rguenth at gcc dot gnu.org
  2012-11-13 18:44 ` ubizjak at gmail dot com
@ 2013-03-27 12:38 ` rguenth at gcc dot gnu.org
  2013-03-28 23:08 ` burnus at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-03-27 12:38 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> 2013-03-27 12:38:05 UTC ---
It would be nice to see where we are today with respect to the cost model /
vectorizing / not vectorizing.


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

* [Bug middle-end/41115] Tree-vectorizer: VecCost tuning for X2: Without vectorization 30% faster
       [not found] <bug-41115-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2013-03-27 12:38 ` rguenth at gcc dot gnu.org
@ 2013-03-28 23:08 ` burnus at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: burnus at gcc dot gnu.org @ 2013-03-28 23:08 UTC (permalink / raw)
  To: gcc-bugs


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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org

--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> 2013-03-28 23:08:00 UTC ---
(In reply to comment #3)
> It would be nice to see where we are today with respect to the cost model /
> vectorizing / not vectorizing.

Answer: It became much worse (compared to GCC 4.5 of comment 0):


Using gcc version 4.8.0 20130308 [trunk revision 196547], the induct runtimes
are:

gfortran -march=native -ffast-math -O3 -ftree-vectorize -fvect-cost-model
induct.f90
real    0m47.142s  /  user    0m47.072s / sys     0m0.020s

gfortran-4.8 -march=native -ffast-math -O3 -ftree-vectorize
-fno-vect-cost-model induct.f90
real    0m35.713s  /  user    0m35.236s  /  sys     0m0.052s

time gfortran-4.8 -march=native -ffast-math -O3 -fno-tree-vectorize induct.f90
real    0m47.837s  /  user    0m47.388s  /  sys     0m0.028s
real    0m47.514s  /  user    0m47.428s  /  sys     0m0.044s

gfortran -march=opteron -ffast-math -funroll-loops -fno-tree-vectorize
-ftree-loop-linear -msse3 -O3 induct.f90
real    0m44.676s  /  user    0m44.640s  / sys     0m0.032s


gfortran-4.5 -march=opteron -ffast-math -funroll-loops -fno-tree-vectorize
-ftree-loop-linear -msse3 -O3 induct.f90; time ./a.out
real    0m34.591s  /  user    0m34.524s  / sys     0m0.020s


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

end of thread, other threads:[~2013-03-28 23:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-41115-4@http.gcc.gnu.org/bugzilla/>
2012-07-13  8:37 ` [Bug middle-end/41115] Tree-vectorizer: VecCost tuning for X2: Without vectorization 30% faster rguenth at gcc dot gnu.org
2012-11-13 18:44 ` ubizjak at gmail dot com
2013-03-27 12:38 ` rguenth at gcc dot gnu.org
2013-03-28 23:08 ` burnus 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).