This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/50751] SH Target: Displacement addressing does not work for QImode and HImode
- From: "kkojima at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 27 Oct 2011 22:30:39 +0000
- Subject: [Bug target/50751] SH Target: Displacement addressing does not work for QImode and HImode
- Auto-submitted: auto-generated
- References: <bug-50751-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50751
--- Comment #12 from Kazumoto Kojima <kkojima at gcc dot gnu.org> 2011-10-27 22:30:39 UTC ---
It seems that base_reg+index_reg addressing requires special
handling in RA and the move insn like
(define_insn "*movqi_m_reg_reg_store"
[(set (mem:QI (plus:SI (match_operand:SI 0 "arith_reg_operand" "%z")
(match_operand:SI 1 "arith_reg_operand" "r")))
(match_operand:QI 2 "arith_reg_operand" "r"))]
"TARGET_SH1"
"mov.b %2,@(%0,%1)"
[(set_attr "type" "store")])
might be unexpected for RA.