Commit 28051ef5 by Stan Cox

Use bcnd instead of bb0/bb1 for optimize cases

From-SVN: r7902
parent 5ce574f2
......@@ -2645,16 +2645,14 @@ emit_bcnd (op, label)
rtx label;
{
if (m88k_compare_op1 == const0_rtx)
emit_jump_insn (optimize
? gen_bxx (emit_test (op, VOIDmode), label)
: gen_bcnd (gen_rtx (op, VOIDmode,
m88k_compare_op0, const0_rtx),
emit_jump_insn( gen_bcnd (
gen_rtx (op, VOIDmode,m88k_compare_op0, const0_rtx),
label));
else if (m88k_compare_op0 == const0_rtx)
emit_jump_insn (optimize
? gen_bxx (emit_test (op, VOIDmode), label)
: gen_bcnd (gen_rtx (swap_condition (op), VOIDmode,
m88k_compare_op1, const0_rtx),
emit_jump_insn( gen_bcnd(
gen_rtx(
swap_condition (op),
VOIDmode, m88k_compare_op1, const0_rtx),
label));
else if (op != EQ && op != NE)
emit_jump_insn (gen_bxx (emit_test (op, VOIDmode), label));
......
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