i386.md (floatsi<mode>2_vector_sse_with_temp splitter): Compare <ssevecmode>mode with V4SFmode, not V4SImode.

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

From-SVN: r180742
This commit is contained in:
Uros Bizjak 2011-11-01 20:48:34 +01:00 committed by Uros Bizjak
parent be26142a67
commit 8d1788f2e1
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-10-30 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.md (floatsi<mode>2_vector_sse_with_temp splitter):
Compare <ssevecmode>mode with V4SFmode, not V4SImode.
2011-11-01 Peter Bergner <bergner@vnet.ibm.com>
* config.gcc (powerpc*-*-linux*): Add powerpc*-*-linux*ppc476* variant.

View File

@ -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]));