diff options
author | Roger Sayle <roger@eyesopen.com> | 2006-07-19 05:13:56 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2006-07-19 05:13:56 +0000 |
commit | cb2eb96f4d81b3ce61fd0070b59bfaf568c04f31 (patch) | |
tree | 3487eac9da851d55f914f10ff317d63bd8311b83 /gcc/except.c | |
parent | f604fc3b2ea1d6738af942668d16ddd5cd2663a8 (diff) | |
download | gcc-cb2eb96f4d81b3ce61fd0070b59bfaf568c04f31.zip gcc-cb2eb96f4d81b3ce61fd0070b59bfaf568c04f31.tar.gz gcc-cb2eb96f4d81b3ce61fd0070b59bfaf568c04f31.tar.bz2 |
re PR middle-end/28283 (SuperH: Very unoptimal code generated for 64-bit ints)
PR middle-end/28283
* expmed.c (expand_shift): Additionally check that the shift_cost
is not MAX_COST and that INTVAL(op1) is less than MAX_BITS_PER_WORD
before implementing a LSHIFT_EXPR as a sequence of additions.
* config/sh/sh.c (shift_costs): Return MAX_COST to inform the
middle-end that DImode shifts need to be synthesized by expand.
From-SVN: r115578
Diffstat (limited to 'gcc/except.c')
0 files changed, 0 insertions, 0 deletions