Commit 05bd3d41 by Richard Kenner Committed by Richard Kenner

* cse.c (find_best_addr): Fix typo in computing cost.

From-SVN: r39490
parent d1405722
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment