diff options
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; |