public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/57927] New: -march=core-avx2  different than -march=native on INTEL Haswell (i7-4700K)
@ 2013-07-18 17:25 vincenzo.innocente at cern dot ch
  2013-07-18 17:51 ` [Bug target/57927] " jakub at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: vincenzo.innocente at cern dot ch @ 2013-07-18 17:25 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 57927
           Summary: -march=core-avx2  different than -march=native on
                    INTEL Haswell (i7-4700K)
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vincenzo.innocente at cern dot ch

for instance

mkdir scimark2TMP
cd scimark2TMP
wget http://math.nist.gov/scimark2/scimark2_1c.zip .
unzip scimark2_1c.zip
c++ -S LU.c -O3 -march=native -o LU.native -v
c++ -S LU.c -O3 -march=core-avx2 -o LU.avx2 -v
diff LU.native LU.avx2

if you run the benchmark
gcc -O3 -march=core-avx2 *.c -lm; ./a.out 5 
gcc -O3 -march=native *.c -lm; ./a.out 5 
"core-avx2" is better than "native"


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

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

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-18 17:25 [Bug target/57927] New: -march=core-avx2 different than -march=native on INTEL Haswell (i7-4700K) vincenzo.innocente at cern dot ch
2013-07-18 17:51 ` [Bug target/57927] " jakub at gcc dot gnu.org
2013-07-18 19:53 ` glisse at gcc dot gnu.org
2013-08-27  3:43 ` shadow at umbrox dot de
2013-08-27  6:45 ` ubizjak at gmail dot com
2013-08-27 16:20 ` hjl.tools at gmail dot com
2013-08-27 20:20 ` shadow at umbrox dot de
2013-08-27 21:16 ` jakub at gcc dot gnu.org
2013-08-28  8:42 ` ubizjak at gmail dot com

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