public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/37150]  New: vectorizer issue
@ 2008-08-18 15:34 jv244 at cam dot ac dot uk
  2008-08-18 15:35 ` [Bug middle-end/37150] " jv244 at cam dot ac dot uk
                   ` (12 more replies)
  0 siblings, 13 replies; 16+ messages in thread
From: jv244 at cam dot ac dot uk @ 2008-08-18 15:34 UTC (permalink / raw)
  To: gcc-bugs

As pointed out :

http://gcc.gnu.org/ml/gcc/2008-08/msg00290.html

The attached testcase yields (on a core2 duo, gcc trunk):

    gfortran -O3 -ftree-vectorize -ffast-math -march=native test.f90
    time ./a.out

real 0m3.414s

    ifort -xT -O3  test.f90
    time ./a.out

real 0m1.556s

The assembly contains:

        ifort   gfortran
mulpd     140          0
mulsd       0        280


so the reason seems that ifort vectorizes the attached testcase


-- 
           Summary: vectorizer issue
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jv244 at cam dot ac dot uk
  GCC host triplet: x86_64-unknown-linux-gnu


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


^ permalink raw reply	[flat|nested] 16+ messages in thread
[parent not found: <bug-37150-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2012-10-06 10:39 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-18 15:34 [Bug middle-end/37150] New: vectorizer issue jv244 at cam dot ac dot uk
2008-08-18 15:35 ` [Bug middle-end/37150] " jv244 at cam dot ac dot uk
2008-08-18 15:56 ` rguenth at gcc dot gnu dot org
2008-08-18 16:10 ` burnus at gcc dot gnu dot org
2008-08-19 10:55 ` jv244 at cam dot ac dot uk
2008-08-19 11:37 ` jv244 at cam dot ac dot uk
2008-08-19 13:51 ` jv244 at cam dot ac dot uk
2008-08-24 22:50 ` [Bug middle-end/37150] vectorizer misses some loops pinskia at gcc dot gnu dot org
2008-12-27  6:33 ` pinskia at gcc dot gnu dot org
2009-08-06  7:55 ` jv244 at cam dot ac dot uk
2009-08-06  9:40 ` rguenth at gcc dot gnu dot org
2009-08-06 10:24 ` jv244 at cam dot ac dot uk
2009-08-06 10:49 ` irar at il dot ibm dot com
2009-08-06 11:11 ` jv244 at cam dot ac dot uk
     [not found] <bug-37150-4@http.gcc.gnu.org/bugzilla/>
2012-07-13  8:44 ` rguenth at gcc dot gnu.org
2012-10-06 10:39 ` Joost.VandeVondele at mat dot ethz.ch

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