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
This commit is contained in:
Oleg Endo 2014-12-07 22:57:11 +00:00
parent 6c6a593dc0
commit b63e26d5ef
2 changed files with 8 additions and 4 deletions

View File

@ -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.

View File

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