From 9b3bd4249d2e0e46d4bec0909e626543bbd14d3b Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 7 Sep 2001 11:14:32 -0700 Subject: loop.c (record_giv): Avoid simplifying MULT to ASHIFT. * loop.c (record_giv): Avoid simplifying MULT to ASHIFT. (express_from_1): Wrap lines. * rtlanal.c (commutative_operand_precedence): Rename from operand_preference; export. * rtl.h: Declare it. * simplify-rtx.c (simplify_gen_binary): Tidy +/- const_int handling. (simplify_binary_operation): Invoke simplify_plus_minus on (CONST (PLUS ...)) as well. (struct simplify_plus_minus_op_data): New. (simplify_plus_minus_op_data_cmp): New. (simplify_plus_minus): Use them. Avoid infinite recursion with simplify_binary_operation wrt CONST. From-SVN: r45473 --- gcc/rtl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/rtl.h') diff --git a/gcc/rtl.h b/gcc/rtl.h index 3a0a019..75204b6 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -1374,6 +1374,7 @@ extern int reg_used_between_p PARAMS ((rtx, rtx, rtx)); extern int reg_referenced_between_p PARAMS ((rtx, rtx, rtx)); extern int reg_set_between_p PARAMS ((rtx, rtx, rtx)); extern int regs_set_between_p PARAMS ((rtx, rtx, rtx)); +extern int commutative_operand_precedence PARAMS ((rtx)); extern int swap_commutative_operands_p PARAMS ((rtx, rtx)); extern int modified_between_p PARAMS ((rtx, rtx, rtx)); extern int no_labels_between_p PARAMS ((rtx, rtx)); -- cgit v1.1