diff options
author | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | 1999-12-18 21:33:23 +0000 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1999-12-18 16:33:23 -0500 |
commit | d4b60170fd601e84cdafca12ea3365488ee93635 (patch) | |
tree | b29d6812261abeb25b182a176f35382f12cb98bd /gcc/cse.c | |
parent | 3f0aabf20a84ccd50d38dca8f252f887558d31ff (diff) | |
download | gcc-d4b60170fd601e84cdafca12ea3365488ee93635.zip gcc-d4b60170fd601e84cdafca12ea3365488ee93635.tar.gz gcc-d4b60170fd601e84cdafca12ea3365488ee93635.tar.bz2 |
alias.c: Minor reformatting.
* alias.c: Minor reformatting.
* flow.c: Likewise.
* regs.h: Likewise.
* stor-layout.c: Likewise.
* fold-const.c: Likewise.
(OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
(struct cb_args, const_binop_1, const_binop): Pass type of arg,
not arg itself.
(size_int_wide): Cache nodes even if garbage collecting.
(twoval_comparison_p): Reenable SAVE_EXPR case if operand
of SAVE_EXPR has no side effects.
* cse.c: Move a comment.
* tree.c: Minor reformatting.
(int_size_in_bytes): Return -1 if constant overflows.
* reload.c (combine_reloads): Do nothing if no output reload
From-SVN: r31017
Diffstat (limited to 'gcc/cse.c')
-rw-r--r-- | gcc/cse.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -722,11 +722,6 @@ dump_class (classp) } } -/* Return an estimate of the cost of computing rtx X. - One use is in cse, to decide which expression to keep in the hash table. - Another is in rtl generation, to pick the cheapest way to multiply. - Other uses like the latter are expected in the future. */ - /* Internal function, to compute cost when X is not a register; called from COST macro to keep it simple. */ @@ -755,6 +750,11 @@ notreg_cost (x) #define COSTS_N_INSNS(N) ((N) * 4 - 2) +/* Return an estimate of the cost of computing rtx X. + One use is in cse, to decide which expression to keep in the hash table. + Another is in rtl generation, to pick the cheapest way to multiply. + Other uses like the latter are expected in the future. */ + int rtx_cost (x, outer_code) rtx x; |