Re: revamping synth_mult()

2006-07-19 Thread Richard Guenther
On 7/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Folks, I'm currently looking at substantively revamping synth_mult(), the gcc routine for reducing multiplicative constants to shift/add/sub sequences. My perception here, from experimentation, is that synth_mult() is: 1. s

revamping synth_mult()

2006-07-18 Thread sbalfour
Folks, I'm currently looking at substantively revamping synth_mult(), the gcc routine for reducing multiplicative constants to shift/add/sub sequences. My perception here, from experimentation, is that synth_mult() is: 1. slow (deeply recursive) 2. bag of tricks including factoring (fact