diff options
author | Roger Sayle <roger@eyesopen.com> | 2004-06-08 04:30:48 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2004-06-08 04:30:48 +0000 |
commit | 5877771853e65df4ebc5213c5dd098d2e49bf95a (patch) | |
tree | fa8c7b542da2f90c4e78015c04f02d97eafef476 /gcc/tree-gimple.c | |
parent | 9221325f10a58e13a35dfac007c6b5c906760679 (diff) | |
download | gcc-5877771853e65df4ebc5213c5dd098d2e49bf95a.zip gcc-5877771853e65df4ebc5213c5dd098d2e49bf95a.tar.gz gcc-5877771853e65df4ebc5213c5dd098d2e49bf95a.tar.bz2 |
expmed.c (add_cost, [...]): Make arrays indexed by machine mode.
* expmed.c (add_cost, neg_cost, sdiv_pow2_cheap, smod_pow2_cheap):
Make arrays indexed by machine mode. Rename negate_cost to neg_cost.
(init_expmed): Initialize these cost arrays as appropriate.
(store_bit_field, extract_bit_field): Correct whitespace.
(synth_mult, choose_mult_variant, expand_mult, expand_mult_highpart,
expand_mult_highpart_optab, expand_divmod): Update uses of add_cost,
neg_cost, sdiv_pow2_cheap, smod_pow2_cheap to index with mode,
word_mode or compute_mode as appropriate.
From-SVN: r82743
Diffstat (limited to 'gcc/tree-gimple.c')
0 files changed, 0 insertions, 0 deletions