Commit 4f8478c2 by Richard Kenner

(alpha_emit_conditional_move): Compare to 0 in correct mode.

From-SVN: r12038
parent 4d12b2fe
...@@ -1024,7 +1024,8 @@ alpha_emit_conditional_move (cmp, mode) ...@@ -1024,7 +1024,8 @@ alpha_emit_conditional_move (cmp, mode)
tem = gen_reg_rtx (cmp_op_mode); tem = gen_reg_rtx (cmp_op_mode);
emit_move_insn (tem, gen_rtx (code, cmp_op_mode, op0, op1)); 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));
} }
/* Adjust the cost of a scheduling dependency. Return the new cost of /* Adjust the cost of a scheduling dependency. Return the new cost of
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment