Use bcnd instead of bb0/bb1 for optimize cases

From-SVN: r7902
This commit is contained in:
Stan Cox 1994-08-12 17:41:31 +00:00
parent 5ce574f2c6
commit 28051ef589

View File

@ -2645,17 +2645,15 @@ 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),
label));
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),
label));
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));
else