expmed.c (shift_cost, [...]): Additionally index by machine mode.
authorRoger Sayle <roger@eyesopen.com>
Sun, 13 Jun 2004 02:46:08 +0000 (02:46 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Sun, 13 Jun 2004 02:46:08 +0000 (02:46 +0000)
commit965703ed8e1a320e190baee91f8ce6a3c07d98ea
tree60606718d799c08f814f5d1cc825b6455dad1de4
parent3839e36afce7cf51ec030562adcad7af941495e9
expmed.c (shift_cost, [...]): Additionally index by machine mode.

* expmed.c (shift_cost, shiftadd_cost, shiftsub_cost): Additionally
index by machine mode.
(init_expmed): Initialize shift_cost, shiftadd_cost and shiftsub_cost
tables inside the loop over machine modes.
(synth_mult, expand_mult_highpart_optab, expand_mult_highpart,
expand_divmod): Index shift*_cost by the appropriate machine mode.

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