i386.md (fixsfsi2, fixdfdi2): Force operand to register for SSE.
authorJan Hubicka <jh@suse.cz>
Tue, 13 Feb 2001 15:34:11 +0000 (16:34 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 13 Feb 2001 15:34:11 +0000 (15:34 +0000)
* i386.md (fixsfsi2, fixdfdi2): Force operand to register
for SSE.

From-SVN: r39636

gcc/ChangeLog
gcc/config/i386/i386.md

index a5bdf0591cd28eca49197effae9da41572cecfae..1f99f980ed1321d2c80bbcb0c7d08df06854ae78 100644 (file)
@@ -1,3 +1,8 @@
+Tue Feb 13 16:32:20 CET 2001  Jan Hubicka  <jh@suse.cz>
+
+       * i386.md (fixsfsi2, fixdfdi2): Force operand to register
+       for SSE.
+
 Tue Feb 13 14:53:16 CET 2001  Jan Hubicka  <jh@suse.cz>
 
        * i386.md (add?f3, sub?f3, mul?f3, dif?f3): Enable for TARGET_SSE(2)
index 25718838b768927e01fcd4b5edaabd89f7148b0b..84c91e5a1604bcdbeec0ba1ebbd30ebaf382a497 100644 (file)
 {
   if (TARGET_SSE2)
    {
+     operands[0] = force_reg (SImode, operands[0]);
      emit_insn (gen_fix_truncdfsi_sse (operands[0], operands[1]));
      DONE;
    }
 {
   if (TARGET_SSE2)
    {
+     operands[0] = force_reg (SImode, operands[0]);
      emit_insn (gen_fix_truncsfsi_sse (operands[0], operands[1]));
      DONE;
    }