diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 03f63c8e90be..642a9eddf929 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2005-03-01 David Edelsohn + + * config/rs6000/predicates.md (branch_comparison_operator): Change + to define_special_predicate. + (scc_comparison_operator): Same. + (branch_positive_comparison_operator): Same. + 2005-03-01 Daniel Berlin * Makefile.in (tree-ssa-sink.o): New. diff --git a/gcc/config/rs6000/predicates.md b/gcc/config/rs6000/predicates.md index 10e12af99fe7..3cb1475ffc6e 100644 --- a/gcc/config/rs6000/predicates.md +++ b/gcc/config/rs6000/predicates.md @@ -678,7 +678,7 @@ ;; Return 1 if OP is a comparison operation that is valid for a branch ;; instruction. We only check the opcode against the mode of the CC value. -(define_predicate "branch_comparison_operator" +(define_special_predicate "branch_comparison_operator" (match_code "eq,ne,le,lt,ge,gt,leu,ltu,geu,gtu,unordered,ordered,unge,unle") { enum rtx_code code = GET_CODE (op); @@ -698,13 +698,13 @@ ;; Return 1 if OP is a comparison operation that is valid for an SCC insn -- ;; it must be a positive comparison. -(define_predicate "scc_comparison_operator" +(define_special_predicate "scc_comparison_operator" (and (match_code "eq,lt,gt,ltu,gtu,unordered") (match_operand 0 "branch_comparison_operator"))) ;; Return 1 if OP is a comparison operation that is valid for a branch ;; insn, which is true if the corresponding bit in the CC register is set. -(define_predicate "branch_positive_comparison_operator" +(define_special_predicate "branch_positive_comparison_operator" (and (match_code "eq,lt,gt,ltu,gtu,unordered") (match_operand 0 "branch_comparison_operator")))