if (gen_v9_scc (LTU, operands))
DONE;
}
- operands[1] = gen_compare_reg (LTU, sparc_compare_op0, sparc_compare_op1);
+ operands[1] = gen_compare_reg (LTU);
})
(define_expand "sgeu"
if (gen_v9_scc (GEU, operands))
DONE;
}
- operands[1] = gen_compare_reg (GEU, sparc_compare_op0, sparc_compare_op1);
+ operands[1] = gen_compare_reg (GEU);
})
(define_expand "sleu"
emit_jump_insn (gen_bne (operands[0]));
DONE;
}
- operands[1] = gen_compare_reg (EQ, sparc_compare_op0, sparc_compare_op1);
+ operands[1] = gen_compare_reg (EQ);
})
(define_expand "bne"
emit_jump_insn (gen_bne (operands[0]));
DONE;
}
- operands[1] = gen_compare_reg (NE, sparc_compare_op0, sparc_compare_op1);
+ operands[1] = gen_compare_reg (NE);
})
(define_expand "bgt"
emit_jump_insn (gen_bne (operands[0]));
DONE;
}
- operands[1] = gen_compare_reg (GT, sparc_compare_op0, sparc_compare_op1);
+ operands[1] = gen_compare_reg (GT);
})
(define_expand "bgtu"
(pc)))]
""
{
- operands[1] = gen_compare_reg (GTU, sparc_compare_op0, sparc_compare_op1);
+ operands[1] = gen_compare_reg (GTU);
})
(define_expand "blt"
emit_jump_insn (gen_bne (operands[0]));
DONE;
}
- operands[1] = gen_compare_reg (LT, sparc_compare_op0, sparc_compare_op1);
+ operands[1] = gen_compare_reg (LT);
})
(define_expand "bltu"
(pc)))]
""
{
- operands[1] = gen_compare_reg (LTU, sparc_compare_op0, sparc_compare_op1);
+ operands[1] = gen_compare_reg (LTU);
})
(define_expand "bge"
emit_jump_insn (gen_bne (operands[0]));
DONE;
}
- operands[1] = gen_compare_reg (GE, sparc_compare_op0, sparc_compare_op1);
+ operands[1] = gen_compare_reg (GE);
})
(define_expand "bgeu"
(pc)))]
""
{
- operands[1] = gen_compare_reg (GEU, sparc_compare_op0, sparc_compare_op1);
+ operands[1] = gen_compare_reg (GEU);
})
(define_expand "ble"
emit_jump_insn (gen_bne (operands[0]));
DONE;
}
- operands[1] = gen_compare_reg (LE, sparc_compare_op0, sparc_compare_op1);
+ operands[1] = gen_compare_reg (LE);
})
(define_expand "bleu"
(pc)))]
""
{
- operands[1] = gen_compare_reg (LEU, sparc_compare_op0, sparc_compare_op1);
+ operands[1] = gen_compare_reg (LEU);
})
(define_expand "bunordered"
emit_jump_insn (gen_beq (operands[0]));
DONE;
}
- operands[1] = gen_compare_reg (UNORDERED, sparc_compare_op0,
- sparc_compare_op1);
+ operands[1] = gen_compare_reg (UNORDERED);
})
(define_expand "bordered"
emit_jump_insn (gen_bne (operands[0]));
DONE;
}
- operands[1] = gen_compare_reg (ORDERED, sparc_compare_op0,
- sparc_compare_op1);
+ operands[1] = gen_compare_reg (ORDERED);
})
(define_expand "bungt"
emit_jump_insn (gen_bgt (operands[0]));
DONE;
}
- operands[1] = gen_compare_reg (UNGT, sparc_compare_op0, sparc_compare_op1);
+ operands[1] = gen_compare_reg (UNGT);
})
(define_expand "bunlt"
emit_jump_insn (gen_bne (operands[0]));
DONE;
}
- operands[1] = gen_compare_reg (UNLT, sparc_compare_op0, sparc_compare_op1);
+ operands[1] = gen_compare_reg (UNLT);
})
(define_expand "buneq"
emit_jump_insn (gen_beq (operands[0]));
DONE;
}
- operands[1] = gen_compare_reg (UNEQ, sparc_compare_op0, sparc_compare_op1);
+ operands[1] = gen_compare_reg (UNEQ);
})
(define_expand "bunge"
emit_jump_insn (gen_bne (operands[0]));
DONE;
}
- operands[1] = gen_compare_reg (UNGE, sparc_compare_op0, sparc_compare_op1);
+ operands[1] = gen_compare_reg (UNGE);
})
(define_expand "bunle"
emit_jump_insn (gen_bne (operands[0]));
DONE;
}
- operands[1] = gen_compare_reg (UNLE, sparc_compare_op0, sparc_compare_op1);
+ operands[1] = gen_compare_reg (UNLE);
})
(define_expand "bltgt"
emit_jump_insn (gen_bne (operands[0]));
DONE;
}
- operands[1] = gen_compare_reg (LTGT, sparc_compare_op0, sparc_compare_op1);
+ operands[1] = gen_compare_reg (LTGT);
})
\f
;; Now match both normal and inverted jump.
}
else
{
- rtx cc_reg = gen_compare_reg (code,
- sparc_compare_op0, sparc_compare_op1);
+ rtx cc_reg = gen_compare_reg (code);
operands[1] = gen_rtx_fmt_ee (code, GET_MODE (cc_reg), cc_reg, const0_rtx);
}
})
}
else
{
- rtx cc_reg = gen_compare_reg (code,
- sparc_compare_op0, sparc_compare_op1);
+ rtx cc_reg = gen_compare_reg (code);
operands[1] = gen_rtx_fmt_ee (code, GET_MODE (cc_reg), cc_reg, const0_rtx);
}
})
}
else
{
- rtx cc_reg = gen_compare_reg (code,
- sparc_compare_op0, sparc_compare_op1);
+ rtx cc_reg = gen_compare_reg (code);
operands[1] = gen_rtx_fmt_ee (code, GET_MODE (cc_reg),
cc_reg, const0_rtx);
}
}
else
{
- rtx cc_reg = gen_compare_reg (code,
- sparc_compare_op0, sparc_compare_op1);
+ rtx cc_reg = gen_compare_reg (code);
operands[1] = gen_rtx_fmt_ee (code, GET_MODE (cc_reg),
cc_reg, const0_rtx);
}
}
else
{
- rtx cc_reg = gen_compare_reg (code,
- sparc_compare_op0, sparc_compare_op1);
+ rtx cc_reg = gen_compare_reg (code);
operands[1] = gen_rtx_fmt_ee (code, GET_MODE (cc_reg), cc_reg, const0_rtx);
}
})
}
else
{
- rtx cc_reg = gen_compare_reg (code,
- sparc_compare_op0, sparc_compare_op1);
+ rtx cc_reg = gen_compare_reg (code);
operands[1] = gen_rtx_fmt_ee (code, GET_MODE (cc_reg), cc_reg, const0_rtx);
}
})
}
else
{
- rtx cc_reg = gen_compare_reg (code,
- sparc_compare_op0, sparc_compare_op1);
+ rtx cc_reg = gen_compare_reg (code);
operands[1] = gen_rtx_fmt_ee (code, GET_MODE (cc_reg), cc_reg, const0_rtx);
}
})
[(trap_if (match_operator 0 "noov_compare_operator" [(match_dup 2) (match_dup 3)])
(match_operand:SI 1 "arith_operand" ""))]
""
- "operands[2] = gen_compare_reg (GET_CODE (operands[0]),
- sparc_compare_op0, sparc_compare_op1);
+ "operands[2] = gen_compare_reg (GET_CODE (operands[0]));
if (GET_MODE (operands[2]) != CCmode && GET_MODE (operands[2]) != CCXmode)
FAIL;
operands[3] = const0_rtx;")