* cse.c (find_best_addr): Fix typo in computing cost.
From-SVN: r39490
This commit is contained in:
parent
d14057222f
commit
05bd3d4156
@ -1,3 +1,7 @@
|
||||
Tue Feb 6 07:54:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
|
||||
|
||||
* cse.c (find_best_addr): Fix typo in computing cost.
|
||||
|
||||
Mon Feb 5 21:56:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
|
||||
|
||||
* combine.c (nonzero_bits, case PLUS): If pointers extend unsigned
|
||||
|
@ -2975,7 +2975,7 @@ find_best_addr (insn, loc, mode)
|
||||
|| exp_equiv_p (p->exp, p->exp, 1, 0))
|
||||
&& ((exp_cost = address_cost (p->exp, mode)) < best_addr_cost
|
||||
|| (exp_cost == best_addr_cost
|
||||
&& (p->cost + 1) >> 1 < best_rtx_cost)))
|
||||
&& ((p->cost + 1) >> 1) > best_rtx_cost)))
|
||||
{
|
||||
found_better = 1;
|
||||
best_addr_cost = exp_cost;
|
||||
|
Loading…
Reference in New Issue
Block a user