aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-fold.c
diff options
context:
space:
mode:
authorOleg Endo <olegendo@gcc.gnu.org>2012-04-05 18:43:45 +0000
committerOleg Endo <olegendo@gcc.gnu.org>2012-04-05 18:43:45 +0000
commit9b9ad23f888c646982731e8c9c797885559bdb4f (patch)
treeee5004d6ad7de25c4591a8c0bcbc8a8e817248bb /gcc/gimple-fold.c
parent14f986ed7a69f4f21b7312328fbef1747b12b6db (diff)
downloadgcc-9b9ad23f888c646982731e8c9c797885559bdb4f.zip
gcc-9b9ad23f888c646982731e8c9c797885559bdb4f.tar.gz
gcc-9b9ad23f888c646982731e8c9c797885559bdb4f.tar.bz2
re PR target/50751 (SH Target: Displacement addressing does not work for QImode and HImode)
PR target/50751 * config/sh/sh.c (sh_find_mov_disp_adjust): Take machine_mode as the first argument instead of mode size. Move displacement calculations to ... (mov_insn_size, max_mov_insn_displacement, mov_insn_alignment_mask): ... these new functions. (disp_adjust): Remove max_mov_disp field. (sh_legitimate_index_p): Use max_mov_insn_displacement and mov_insn_alignment_mask. (sh_address_cost): Use max_mov_insn_displacement. From-SVN: r186169
Diffstat (limited to 'gcc/gimple-fold.c')
0 files changed, 0 insertions, 0 deletions