From: olegendo Date: Sun, 7 Dec 2014 22:57:11 +0000 (+0000) Subject: gcc/ X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=34a100a50b28565f58da22709ec90f6dad35d849;p=thirdparty%2Fgcc.git gcc/ PR target/50751 * config/sh/sh.md (extendqihi2): Allow only for TARGET_SH1. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218469 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 46e41ec9892c..fa95bebe2b7e 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 085a806e9f5a..644dd06a9666 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")