i386.c (ix86_expand_int_movcc): Use force_operand instead of constructing insn directly.
authorJan Hubicka <jh@suse.cz>
Sun, 8 Dec 2002 14:03:40 +0000 (15:03 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 8 Dec 2002 14:03:40 +0000 (14:03 +0000)
* i386.c (ix86_expand_int_movcc):  Use force_operand instead of constructing
insn directly.

From-SVN: r59937

gcc/ChangeLog
gcc/config/i386/i386.c

index 0ad9fc15a753ba512a2f3c7c50145f67ce4075aa..890b4a8ceb1a716822b61836e12f61b73f14c6c5 100644 (file)
@@ -1,3 +1,8 @@
+Sun Dec  8 14:57:39 CET 2002  Jan Hubicka  <jh@suse.cz>
+
+       * i386.c (ix86_expand_int_movcc):  Use force_operand instead of constructing
+       insn directly.
+
 2002-12-07  Kazu Hirata  <kazu@cs.umass.edu>
 
        * config/h8300/h8300.md (*iorhi_shift_8): New.
index 80ee90eadb9a20c1484a60e7fc3ba8a733f43573..7337312ac8ec8f01e9ce3a84b44d203cd7ea2533 100644 (file)
@@ -9250,16 +9250,7 @@ ix86_expand_int_movcc (operands)
              && (GET_CODE (tmp) != SUBREG || SUBREG_REG (tmp) != out))
            {
              if (nops == 1)
-               {
-                 rtx clob;
-
-                 clob = gen_rtx_REG (CCmode, FLAGS_REG);
-                 clob = gen_rtx_CLOBBER (VOIDmode, clob);
-
-                 tmp = gen_rtx_SET (VOIDmode, out, tmp);
-                 tmp = gen_rtx_PARALLEL (VOIDmode, gen_rtvec (2, tmp, clob));
-                 emit_insn (tmp);
-               }
+               out = force_operand (tmp, out);
              else
                emit_insn (gen_rtx_SET (VOIDmode, out, tmp));
            }