Use bcnd instead of bb0/bb1 for optimize cases
From-SVN: r7902
This commit is contained in:
parent
5ce574f2c6
commit
28051ef589
@ -2645,16 +2645,14 @@ emit_bcnd (op, label)
|
|||||||
rtx label;
|
rtx label;
|
||||||
{
|
{
|
||||||
if (m88k_compare_op1 == const0_rtx)
|
if (m88k_compare_op1 == const0_rtx)
|
||||||
emit_jump_insn (optimize
|
emit_jump_insn( gen_bcnd (
|
||||||
? gen_bxx (emit_test (op, VOIDmode), label)
|
gen_rtx (op, VOIDmode,m88k_compare_op0, const0_rtx),
|
||||||
: gen_bcnd (gen_rtx (op, VOIDmode,
|
|
||||||
m88k_compare_op0, const0_rtx),
|
|
||||||
label));
|
label));
|
||||||
else if (m88k_compare_op0 == const0_rtx)
|
else if (m88k_compare_op0 == const0_rtx)
|
||||||
emit_jump_insn (optimize
|
emit_jump_insn( gen_bcnd(
|
||||||
? gen_bxx (emit_test (op, VOIDmode), label)
|
gen_rtx(
|
||||||
: gen_bcnd (gen_rtx (swap_condition (op), VOIDmode,
|
swap_condition (op),
|
||||||
m88k_compare_op1, const0_rtx),
|
VOIDmode, m88k_compare_op1, const0_rtx),
|
||||||
label));
|
label));
|
||||||
else if (op != EQ && op != NE)
|
else if (op != EQ && op != NE)
|
||||||
emit_jump_insn (gen_bxx (emit_test (op, VOIDmode), label));
|
emit_jump_insn (gen_bxx (emit_test (op, VOIDmode), label));
|
||||||
|
Loading…
Reference in New Issue
Block a user