This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/39152] [4.4 regression] Revision 144098 breaks 416.gamess in SPEC CPU 2006
- From: "hjl dot tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Feb 2009 15:41:04 -0000
- Subject: [Bug target/39152] [4.4 regression] Revision 144098 breaks 416.gamess in SPEC CPU 2006
- References: <bug-39152-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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