diff options
author | Oleg Endo <olegendo@gcc.gnu.org> | 2012-08-09 23:27:51 +0000 |
---|---|---|
committer | Oleg Endo <olegendo@gcc.gnu.org> | 2012-08-09 23:27:51 +0000 |
commit | 70d4736c9af4dd94e932aee07f4e27e675350331 (patch) | |
tree | a03a6d2ae30fcbeeb358b351b3eb28289129916d /gcc/cfgexpand.c | |
parent | 9ab48d6e6ca06afe12664be30bb30043a9572604 (diff) | |
download | gcc-70d4736c9af4dd94e932aee07f4e27e675350331.zip gcc-70d4736c9af4dd94e932aee07f4e27e675350331.tar.gz gcc-70d4736c9af4dd94e932aee07f4e27e675350331.tar.bz2 |
re PR target/54089 ([SH] Refactor shift patterns)
PR target/54089
* config/sh/sh-protos (shift_insns_rtx): Delete.
(sh_ashlsi_clobbers_t_reg_p): Add.
* config/sh/sh.c (shift_insns, shift_amounts, ext_shift_insns,
ext_shift_amounts): Merge arrays of ints to array of structs.
Adapt usage of arrays throughout the file.
(shift_insns_rtx): Delete unused function.
(sh_ashlsi_clobbers_t_reg_p): New function.
* config/sh/sh.md (ashlsi3): Emit ashlsi3_n_clobbers_t insn if the
final shift sequence will clobber T_REG.
(ashlsi3_n): Split only if the final shift sequence will not
clobber T_REG.
(ashlsi3_n_clobbers_t): New insn_and_split.
From-SVN: r190273
Diffstat (limited to 'gcc/cfgexpand.c')
0 files changed, 0 insertions, 0 deletions