Commit 0fbeccea by Kaz Kojima

sh.md (tstsi_t): Add '?' modifier to 'r' alternative of the 2nd operand to fix failures for...

* config/sh/sh.md (tstsi_t): Add '?' modifier to 'r' alternative of
  the 2nd operand to fix failures for gcc.target/sh/pr49263-2.c with -mlra.

From-SVN: r224349
parent 5c8302fa
2015-06-10 Kaz Kojima <kkojima@gcc.gnu.org>
* config/sh/sh.md (tstsi_t): Add '?' modifier to 'r' alternative
of the second operand.
2015-06-10 Uros Bizjak <ubizjak@gmail.com>
PR target/66473
......
......@@ -616,7 +616,7 @@
(define_insn_and_split "tstsi_t"
[(set (reg:SI T_REG)
(eq:SI (and:SI (match_operand:SI 0 "arith_reg_operand" "%z,r")
(match_operand:SI 1 "arith_or_int_operand" "K08,r"))
(match_operand:SI 1 "arith_or_int_operand" "K08,?r"))
(const_int 0)))]
"TARGET_SH1
&& (can_create_pseudo_p () || arith_reg_operand (operands[1], SImode)
......
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