Commit a37739c1 by Kazu Hirata Committed by Kazu Hirata

* expmed.c, ra-colorize.c: Fix comment typos.

From-SVN: r90771
parent d3f2f8ae
2004-11-16 Kazu Hirata <kazu@cs.umass.edu>
* expmed.c, ra-colorize.c: Fix comment typos.
2004-11-16 Daniel Jacobowitz <dan@codesourcery.com> 2004-11-16 Daniel Jacobowitz <dan@codesourcery.com>
Mark Mitchell <mark@codesourcery.com> Mark Mitchell <mark@codesourcery.com>
......
...@@ -2555,7 +2555,7 @@ synth_mult (struct algorithm *alg_out, unsigned HOST_WIDE_INT t, ...@@ -2555,7 +2555,7 @@ synth_mult (struct algorithm *alg_out, unsigned HOST_WIDE_INT t,
/* If the target has a cheap shift-and-add instruction use /* If the target has a cheap shift-and-add instruction use
that in preference to a shift insn followed by an add insn. that in preference to a shift insn followed by an add insn.
Assume that the shift-and-add is "atomic" with a latency Assume that the shift-and-add is "atomic" with a latency
equal to it's cost, otherwise assume that on superscalar equal to its cost, otherwise assume that on superscalar
hardware the shift may be executed concurrently with the hardware the shift may be executed concurrently with the
earlier steps in the algorithm. */ earlier steps in the algorithm. */
op_cost = add_cost[mode] + shift_cost[mode][m]; op_cost = add_cost[mode] + shift_cost[mode][m];
......
...@@ -1323,7 +1323,7 @@ colorize_one_web (struct web *web, int hard) ...@@ -1323,7 +1323,7 @@ colorize_one_web (struct web *web, int hard)
usable_regs of this web (which is probably larger than that of usable_regs of this web (which is probably larger than that of
the preferred or alternate class). All searches first try to the preferred or alternate class). All searches first try to
find a non-call-clobbered hard-reg. find a non-call-clobbered hard-reg.
XXX this should be more finegraned... First look into preferred XXX this should be more fine grained... First look into preferred
non-callclobbered hardregs, then _if_ the web crosses calls, in non-callclobbered hardregs, then _if_ the web crosses calls, in
alternate non-cc hardregs, and only _then_ also in preferred cc alternate non-cc hardregs, and only _then_ also in preferred cc
hardregs (and alternate ones). Currently we don't track the number hardregs (and alternate ones). Currently we don't track the number
......
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