This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
(define_expand "cmp<mode>"...
(define_expand "b<code>"
(define_insn_and_split "compare_and_branch_insn"
[(set (pc)
(if_then_else (match_operator:CC 3 "comparison_operator"
[(match_operand 1 "register_operand"
"d,d,a,a,d,t,k,t")
(match_operand 2 "nonmemory_operand"
"J,L,J,L,d,t,t,k")])
(label_ref (match_operand 0 "" ""))
(pc)))]
"!unsigned_immediate_compare_p (GET_CODE (operands[3]), operands[2])"
"#"
"reload_completed"
[(set (reg:CC CC_REGNUM)
(match_op_dup:CC 3 [(match_dup 1) (match_dup 2)]))
(set (pc)
(if_then_else (eq (reg:CC CC_REGNUM) (const_int 0))
(label_ref (match_dup 0))
(pc)))]
"{
if (expand_compare_insn (operands, 0))
DONE;
}"
)
(define_predicate "signed_comparison_operator" (match_code "eq,ne,le,lt,ge,gt"))
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |