public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/19304] New: wrong code for spec test from emit_move_change_mode
@ 2005-01-06 23:37 janis187 at us dot ibm dot com
  2005-01-06 23:39 ` [Bug middle-end/19304] " janis187 at us dot ibm dot com
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: janis187 at us dot ibm dot com @ 2005-01-06 23:37 UTC (permalink / raw)
  To: gcc-bugs

Benchmark 197.parser from SPEC CPU2000 fails on powerpc64-linux when
compiled with "-m32 -O2 -maltivec" or "-m32 -O2 -funroll-loops",
producing incorrect results.  The failures start with this patch:
                                                                                
2004-12-12  Richard Henderson  <rth@redhat.com>
                                                                                
        * expr.c (emit_move_change_mode): New.
        (emit_move_via_alt_mode): Use it.
                                                                                
I have no idea what's going on here but noticed that the original code
handled more conditions than does the new code.  If simplify_gen_subreg,
rather than simplify_subreg, is called when reload_in_progress is true
but MEM_P(x) is false, the test case passes again.  I'll attach the
diffs.
                                                                                
If this looks worth testing I'll do a bootstrap and testsuite run and
run the CPU2000 tests with the short test input using a variety of
compiler options.

-- 
           Summary: wrong code for spec test from emit_move_change_mode
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: janis187 at us dot ibm dot com
                CC: gcc-bugs at gcc dot gnu dot org,rth at gcc dot gnu dot
                    org
GCC target triplet: powerpc64-unknown-linux-gnu


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


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

end of thread, other threads:[~2005-01-20  4:22 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-06 23:37 [Bug middle-end/19304] New: wrong code for spec test from emit_move_change_mode janis187 at us dot ibm dot com
2005-01-06 23:39 ` [Bug middle-end/19304] " janis187 at us dot ibm dot com
2005-01-06 23:40 ` [Bug middle-end/19304] [4.0 Regression] " pinskia at gcc dot gnu dot org
2005-01-07 12:25 ` steven at gcc dot gnu dot org
2005-01-12 10:41 ` steven at gcc dot gnu dot org
2005-01-12 16:48 ` janis187 at us dot ibm dot com
2005-01-13  8:11 ` rth at gcc dot gnu dot org
2005-01-13  8:12 ` rth at gcc dot gnu dot org
2005-01-13 17:02 ` janis187 at us dot ibm dot com
2005-01-13 18:57 ` janis187 at us dot ibm dot com
2005-01-18  9:19 ` rth at gcc dot gnu dot org
2005-01-18 20:35 ` rth at gcc dot gnu dot org
2005-01-18 20:42 ` rth at gcc dot gnu dot org
2005-01-18 20:56 ` rth at gcc dot gnu dot org
2005-01-20  4:18 ` cvs-commit at gcc dot gnu dot org
2005-01-20  4:22 ` rth at gcc dot gnu dot 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).