This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/39152] [4.4 regression] Revision 144098 breaks 416.gamess in SPEC CPU 2006



------- Comment #13 from hjl dot tools at gmail dot com  2009-02-12 15:41 -------
This patch:

--- ./i386.md.class     2009-02-12 06:42:42.000000000 -0800
+++ ./i386.md   2009-02-12 07:39:03.000000000 -0800
@@ -20736,7 +20736,11 @@
                      [(match_dup 0)
                       (match_operand:SI 2 "memory_operand" "")]))
               (clobber (reg:CC FLAGS_REG))])]
-  "operands[0] != operands[1]"
+  "operands[0] != operands[1]
+  && ((GENERAL_REGNO_P (REGNO (operands[0]))
+       && GENERAL_REGNO_P (REGNO (operands[1])))
+      || (SSE_REGNO_P (REGNO (operands[0]))
+         && SSE_REGNO_P (REGNO (operands[1]))))"
   [(set (match_dup 0) (match_dup 4))
    (parallel [(set (match_dup 0)
                    (match_op_dup 3 [(match_dup 0) (match_dup 1)]))

works for me.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]