(expand_mult): Generalize to call synth_mult also for OP1 - 1.
authorTorbjorn Granlund <tege@gnu.org>
Wed, 29 Jun 1994 00:23:02 +0000 (00:23 +0000)
committerTorbjorn Granlund <tege@gnu.org>
Wed, 29 Jun 1994 00:23:02 +0000 (00:23 +0000)
commit55c2d311c4fa96040ac08766048a14e4cd8d1c54
treef5e1c65b7384427b6ac16559fdf1aff8627e0af9
parentf02d60632fba813e03fedf69fc1cd47f5cf4b712
(expand_mult): Generalize to call synth_mult also for OP1 - 1.

(ceil_log2): New function.
(choose_multiplier): New function.
(invert_mod2n): New function.
(expand_mult_highpart_adjust): New function.
(expand_mult_highpart): New function.
(EXACT_POWER_OF_2_OR_ZERO_P): New macro.
(expand_divmod): Almost completely rewritten.
(expand_shift): Don't truncate immediate shift count, it doesn't work
for types smaller than int.

From-SVN: r7598
gcc/expmed.c