expmed.c (synth_mult): Initialize new_limit.latency before making a recursive call.
* expmed.c (synth_mult): Initialize new_limit.latency before making a recursive call. From-SVN: r91992
This commit is contained in:
parent
5542b23d7b
commit
417c735c22
@ -1,3 +1,8 @@
|
||||
2004-12-10 Kazu Hirata <kazu@cs.umass.edu>
|
||||
|
||||
* expmed.c (synth_mult): Initialize new_limit.latency before
|
||||
making a recursive call.
|
||||
|
||||
2004-12-10 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* config/mn10300/mn10300.c (legitimate_address_p): Reject address
|
||||
|
@ -2660,7 +2660,7 @@ synth_mult (struct algorithm *alg_out, unsigned HOST_WIDE_INT t,
|
||||
op_latency = add_cost[mode];
|
||||
|
||||
new_limit.cost = best_cost.cost - op_cost;
|
||||
new_limit.cost = best_cost.cost - op_latency;
|
||||
new_limit.latency = best_cost.latency - op_latency;
|
||||
synth_mult (alg_in, t / d, &new_limit, mode);
|
||||
|
||||
alg_in->cost.cost += op_cost;
|
||||
|
Loading…
Reference in New Issue
Block a user