Commit b63e26d5 by Oleg Endo

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
parent 6c6a593d
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.
......@@ -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")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment