public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/55845] New: 454.calculix miscompares with -march=btver2 -O3 -ffastmath -fschedule-insns -mvzeroupper for test data run
@ 2013-01-02  9:28 venkataramanan.kumar at amd dot com
  2013-01-02 10:10 ` [Bug rtl-optimization/55845] " ubizjak at gmail dot com
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: venkataramanan.kumar at amd dot com @ 2013-01-02  9:28 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 55845
           Summary: 454.calculix miscompares with -march=btver2 -O3
                    -ffastmath -fschedule-insns -mvzeroupper for test data
                    run
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: venkataramanan.kumar@amd.com
              Host: x86_64-unknown-linux-gnu
            Target: x86_64-unknown-linux-gnu
             Build: x86_64-unknown-linux-gnu


GCC revision used: 194705
Flags used:  -march=btver2 -O3 -ffastmath -fschedule-insns -mvzeroupper

Observation:
(Snip)
*** Miscompare of beampic.dat; for details see
   
/local/home/vekumar/specruns/benchspec/CPU2006/454.calculix/run/run_base_test_gcc480_bt_sched.exe_nofma.0000/beampic.dat.mis
Error: 1x454.calculix
Producing Raw Reports
(Snip)

On triaging further the file SPOOLES/Utilities/src/Utilities_DV.Utilities_DV.c
when compiled with -march=btver2 -O3 -ffastmath -fschedule-insns -mvzeroupper
seems to schedule vzeroupper incorrectly.

vzeroupper will clobber all ymm registers, so should not be moved arround.

Also using -march=corei7-avx seems to have problem.

I am drilling down further.


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

end of thread, other threads:[~2013-01-15 14:05 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-02  9:28 [Bug rtl-optimization/55845] New: 454.calculix miscompares with -march=btver2 -O3 -ffastmath -fschedule-insns -mvzeroupper for test data run venkataramanan.kumar at amd dot com
2013-01-02 10:10 ` [Bug rtl-optimization/55845] " ubizjak at gmail dot com
2013-01-02 10:15 ` ubizjak at gmail dot com
2013-01-04  6:41 ` vbyakovl23 at gmail dot com
2013-01-04  8:13 ` ubizjak at gmail dot com
2013-01-04  9:12 ` venkataramanan.kumar at amd dot com
2013-01-04  9:20 ` ubizjak at gmail dot com
2013-01-04  9:25 ` venkataramanan.kumar at amd dot com
2013-01-04  9:35 ` [Bug rtl-optimization/55845] [4.8 Regression] " ubizjak at gmail dot com
2013-01-06 13:24 ` ubizjak at gmail dot com
2013-01-06 15:51 ` ubizjak at gmail dot com
2013-01-07 15:46 ` rguenth at gcc dot gnu.org
2013-01-08 18:01 ` jakub at gcc dot gnu.org
2013-01-08 18:04 ` jakub at gcc dot gnu.org
2013-01-15 14:05 ` venkataramanan.kumar at amd 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).