diff options
Diffstat (limited to 'gcc/config/sh')
-rw-r--r-- | gcc/config/sh/sh.c | 2 | ||||
-rw-r--r-- | gcc/config/sh/sh.md | 7 |
2 files changed, 4 insertions, 5 deletions
diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index e818a799b4d..4289a978974 100644 --- a/gcc/config/sh/sh.c +++ b/gcc/config/sh/sh.c @@ -3042,7 +3042,7 @@ enum struct ashl_lshr_sequence { char insn_count; - char amount[6]; + signed char amount[6]; char clobbers_t; }; diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index 4390bacddf5..f86ae3d3e1e 100644 --- a/gcc/config/sh/sh.md +++ b/gcc/config/sh/sh.md @@ -6133,10 +6133,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") |