diff options
author | Oleg Endo <olegendo@gcc.gnu.org> | 2014-12-07 22:57:11 +0000 |
---|---|---|
committer | Oleg Endo <olegendo@gcc.gnu.org> | 2014-12-07 22:57:11 +0000 |
commit | b63e26d5eff63df5886e0f2fa1f0c593a1f7a02c (patch) | |
tree | 113f859ab565f63b4849e477c2bb6ecc4735e01b /gcc | |
parent | 6c6a593dc0a410ffdda14ce97e1518ea3dcb83d5 (diff) | |
download | gcc-b63e26d5eff63df5886e0f2fa1f0c593a1f7a02c.zip gcc-b63e26d5eff63df5886e0f2fa1f0c593a1f7a02c.tar.gz gcc-b63e26d5eff63df5886e0f2fa1f0c593a1f7a02c.tar.bz2 |
re PR target/50751 (SH Target: Displacement addressing does not work for QImode and HImode)
gcc/
PR target/50751
* config/sh/sh.md (extendqihi2): Allow only for TARGET_SH1.
From-SVN: r218469
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/sh/sh.md | 7 |
2 files changed, 8 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 46e41ec..fa95beb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-12-07 Oleg Endo <olegendo@gcc.gnu.org> + + PR target/50751 + * config/sh/sh.md (extendqihi2): Allow only for TARGET_SH1. + 2014-12-07 Eric Botcazou <ebotcazou@adacore.com> * compare-elim.c: Fix head comment. diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index 085a806..644dd06 100644 --- a/gcc/config/sh/sh.md +++ b/gcc/config/sh/sh.md @@ -6364,10 +6364,9 @@ label: }) (define_expand "extendqihi2" - [(set (match_operand:HI 0 "arith_reg_dest" "") - (sign_extend:HI (match_operand:QI 1 "arith_reg_operand" "")))] - "" - "") + [(set (match_operand:HI 0 "arith_reg_dest") + (sign_extend:HI (match_operand:QI 1 "arith_reg_operand")))] + "TARGET_SH1") (define_insn "*extendqihi2_compact_reg" [(set (match_operand:HI 0 "arith_reg_dest" "=r") |