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")