This is the mail archive of the gcc-patches@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]

PATCH: PR target/60969: [4.9/4.10 Regression] ICE in output_129 in MMXMOV of mode MODE_SF for march=pentium4


I checked this preappoved patch into trunk.  But we generate the wrong
code for the testcase due to mixing XMM and x87 registers.

H.J.
---
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 209810)
+++ ChangeLog	(working copy)
@@ -1,3 +1,9 @@
+2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR target/60969
+	* config/i386/i386.md (*movsf_internal): Set MODE to SI for
+	alternative 12.
+
 2014-04-25  Jiong Wang  <jiong.wang@arm.com>
 
 	* config/arm/predicates.md (call_insn_operand): Add long_call check.
Index: config/i386/i386.md
===================================================================
--- config/i386/i386.md	(revision 209810)
+++ config/i386/i386.md	(working copy)
@@ -3201,7 +3201,7 @@
        (const_string "1")
        (const_string "*")))
    (set (attr "mode")
-        (cond [(eq_attr "alternative" "3,4,9,10,13,14,15")
+        (cond [(eq_attr "alternative" "3,4,9,10,12,13,14,15")
 		 (const_string "SI")
 	       (eq_attr "alternative" "11")
 		 (const_string "DI")


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