(lea_max_mul): Delete.
(init_expmed): Delete unused variable I. (enum alg_code): New tag alg_shift. Document it. (synth_mult): Delete unused variable N. Handle new trivial case first, for T <= 1. Generalize shifting code to shift whenever a number is even; use alg_shift for this. Set best_alg->ops only in trivial case. Clean up cost calculation code for the `simple case' at the end; use shiftadd_cost when appropriate. Combine declarations of Q and move to top of function. Eliminate use of Q in factoring cases. If we are getting too long a sequence for `struct algorithm' to record, fail. (expand_mult): Handle alg_shift instead of alg_add_t_m2 as first operation. In RLT emit loop, handle alg_shift; special case LOG == 0 for alg_add_t_m2 and alg_sub_t_m2. From-SVN: r3750
Showing
Please
register
or
sign in
to comment