predicates.md (branch_comparison_operator): Change to define_special_predicate.
authorDavid Edelsohn <edelsohn@gnu.org>
Tue, 1 Mar 2005 18:22:07 +0000 (18:22 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Tue, 1 Mar 2005 18:22:07 +0000 (13:22 -0500)
* config/rs6000/predicates.md (branch_comparison_operator): Change
to define_special_predicate.
(scc_comparison_operator): Same.
(branch_positive_comparison_operator): Same.

From-SVN: r95752

gcc/ChangeLog
gcc/config/rs6000/predicates.md

index 03f63c8e90befd244a4c41daf427565b51a1a5ff..642a9eddf9295a7ab436f49ab9141f11fd08c970 100644 (file)
@@ -1,3 +1,10 @@
+2005-03-01  David Edelsohn  <edelsohn@gnu.org>
+
+       * 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 <dberlin@dberlin.org>
 
        * Makefile.in (tree-ssa-sink.o): New.
index 10e12af99fe753914d2e8cec80b78d54919a0c79..3cb1475ffc6eaa0c7fdd4d506b51a9c182029baf 100644 (file)
 
 ;; 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);
 
 ;; 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")))