+2004-03-08 Kazu Hirata <kazu@cs.umass.edu>
+
+ * config/pdp11/pdp11.c (comparison_operator_index): Remove.
+ (comp_operator): Likewise.
+ * config/pdp11/pdp11-protos.h: Remove corresponding
+ prototypes.
+
2004-03-08 Eric Botcazou <ebotcazou@act-europe.fr>
* expr.c (highest_pow2_factor_for_type): Rename into
extern int expand_shift_operand (rtx, enum machine_mode);
extern int immediate15_operand (rtx, enum machine_mode);
extern int simple_memory_operand (rtx, enum machine_mode);
-extern int comp_operator (rtx, enum machine_mode);
extern int legitimate_address_p (enum machine_mode, rtx);
extern int legitimate_const_double_p (rtx);
extern const char *output_block_move (rtx *);
extern void print_operand_address (FILE *, rtx);
extern int register_move_cost (enum reg_class, enum reg_class);
-extern int comparison_operator_index (rtx);
#endif /* RTX_CODE */
extern void output_ascii (FILE *, const char *, int);
return "";
}
-/* for future use */
-int
-comparison_operator_index(rtx op)
-{
- switch (GET_CODE(op))
- {
- case NE:
- return 0;
-
- case EQ:
- return 1;
-
- case GE:
- return 2;
-
- case GT:
- return 3;
-
- case LE:
- return 4;
-
- case LT:
- return 5;
-
- case GEU:
- return 6;
-
- case GTU:
- return 7;
-
- case LEU:
- return 8;
-
- case LTU:
- return 9;
-
- default:
- return -1;
- }
-}
-
-/* tests whether the rtx is a comparison operator */
-int
-comp_operator (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED)
-{
- return comparison_operator_index(op) >= 0;
-}
-
-
int
legitimate_address_p (enum machine_mode mode, rtx address)
{