diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2011-11-01 20:48:34 +0100 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2011-11-01 20:48:34 +0100 |
commit | 8d1788f2e16ff606fb2a8dc716b1f6f3006a2b38 (patch) | |
tree | 568bb4ac58de001a1eb96682e3b6fadbd4dc281d | |
parent | be26142a679e4db844fd315e2a411381bf1ff91a (diff) | |
download | gcc-8d1788f2e16ff606fb2a8dc716b1f6f3006a2b38.zip gcc-8d1788f2e16ff606fb2a8dc716b1f6f3006a2b38.tar.gz gcc-8d1788f2e16ff606fb2a8dc716b1f6f3006a2b38.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/i386/i386.md | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fd29e51..41a1b96 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 4910371..a8ebfa4 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -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])); |