diff options
author | Richard Sandiford <rsandifo@nildram.co.uk> | 2007-09-16 21:02:54 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2007-09-16 21:02:54 +0000 |
commit | 348eea5f00fe47fa13c235e9e93c082b8b285f97 (patch) | |
tree | 24f70bdc3e262c76611c228272c31e27b2f21f85 /gcc/expr.c | |
parent | 0ee3f0a892918371a5245de973480bc443126558 (diff) | |
download | gcc-348eea5f00fe47fa13c235e9e93c082b8b285f97.zip gcc-348eea5f00fe47fa13c235e9e93c082b8b285f97.tar.gz gcc-348eea5f00fe47fa13c235e9e93c082b8b285f97.tar.bz2 |
dse.c (find_shift_sequence): Allow word as well as subword shifts.
gcc/
* dse.c (find_shift_sequence): Allow word as well as subword shifts.
Do the tentative shift expansion with the DF_NO_INSN_RESCAN flag set.
Fix the call to insn_rtx_cost. Skip access sizes that require a
real truncation of the store register. Use convert_move instead
of gen_lowpart when narrowing the result.
(replace_read): Use convert_move instead of gen_lowpart when
narrowing the store rhs.
gcc/testsuite/
* gcc.target/mips/dse-1.c: New test.
From-SVN: r128530
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions