From: Oleg Endo Date: Sun, 7 Dec 2014 22:57:11 +0000 (+0000) Subject: re PR target/50751 (SH Target: Displacement addressing does not work for QImode and... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b63e26d5eff63df5886e0f2fa1f0c593a1f7a02c;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 46e41ec9892..fa95bebe2b7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-12-07 Oleg Endo + + PR target/50751 + * config/sh/sh.md (extendqihi2): Allow only for TARGET_SH1. + 2014-12-07 Eric Botcazou * compare-elim.c: Fix head comment. diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index 085a806e9f5..644dd06a966 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")