(alpha_emit_conditional_move): Compare to 0 in correct mode.
authorRichard Kenner <kenner@gcc.gnu.org>
Sun, 19 May 1996 15:49:57 +0000 (11:49 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Sun, 19 May 1996 15:49:57 +0000 (11:49 -0400)
From-SVN: r12038

gcc/config/alpha/alpha.c

index c26a61e..1cfdab4 100644 (file)
@@ -1024,7 +1024,8 @@ alpha_emit_conditional_move (cmp, mode)
 
   tem = gen_reg_rtx (cmp_op_mode);
   emit_move_insn (tem, gen_rtx (code, cmp_op_mode, op0, op1));
-  return gen_rtx (code == NE ? EQ : NE, VOIDmode, tem, CONST0_RTX (mode));
+  return gen_rtx (code == NE ? EQ : NE, VOIDmode, tem,
+                 CONST0_RTX (cmp_op_mode));
 }
 \f
 /* Adjust the cost of a scheduling dependency.  Return the new cost of