]> git.ipfire.org Git - thirdparty/gcc.git/commit
expmed.c (expand_shift): Consider expanding LSHIFT_EXPR by a constant as a sequence...
authorRoger Sayle <roger@eyesopen.com>
Thu, 1 Jul 2004 04:27:09 +0000 (04:27 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Thu, 1 Jul 2004 04:27:09 +0000 (04:27 +0000)
commit15bad393a1047b0e3796362f72c486b5d9bfc0b3
treea9c7e9bbd5c7b7753ecf1aed3dfa709751ef1a6e
parentf8a57be8182804460dde7e7f28a681e26577fdae
expmed.c (expand_shift): Consider expanding LSHIFT_EXPR by a constant as a sequence of additions...

* expmed.c (expand_shift): Consider expanding LSHIFT_EXPR by a
constant as a sequence of additions depending upon the rtx_costs.
(synth_mult): Update the "observed" cost of a shift, based upon
the above optimization.

From-SVN: r83956
gcc/ChangeLog
gcc/expmed.c