diff mbox

[i386] : Fix PR50940, ICE in extract_insn, at recog.c:2137 during bootstrap

Message ID CAFULd4bCijt60SLms2GkL_HJYKxeSg=78ne8GBiR-F1Dd-Lacg@mail.gmail.com
State New
Headers show

Commit Message

Uros Bizjak Nov. 1, 2011, 8:04 p.m. UTC
Hello!

Fix a typo.

2011-10-30  Uros Bizjak  <ubizjak@gmail.com>

	PR target/50940
	* config/i386/i386.md (floatsi<mode>2_vector_sse_with_temp splitter):
	Compare <ssevecmode>mode with V4SFmode, not V4SImode.

Tested on x86_64-pc-linux-gnu, committed to mainline SVN.

Uros.
diff mbox

Patch

Index: config/i386/i386.md
===================================================================
--- config/i386/i386.md	(revision 180741)
+++ config/i386/i386.md	(working copy)
@@ -5053,7 +5053,7 @@ 
       emit_insn (gen_sse2_loadld (operands[4],
 				  CONST0_RTX (V4SImode), operands[2]));
     }
-  if (<ssevecmode>mode == V4SImode)
+  if (<ssevecmode>mode == V4SFmode)
     emit_insn (gen_floatv4siv4sf2 (operands[3], operands[4]));
   else
     emit_insn (gen_sse2_cvtdq2pd (operands[3], operands[4]));