Commit 9ea4e88f by Oleg Endo

re PR target/67391 ([SH] Convert clrt addc to normal add insn)

gcc/
	PR target/67391
	* config/sh/sh.md (addsi3, *addsi3_compact): Don't check for overlapping
	regs when matching the pattern.

From-SVN: r228046
parent d5d27976
2015-09-23 Oleg Endo <olegendo@gcc.gnu.org>
PR target/67391
* config/sh/sh.md (addsi3, *addsi3_compact): Don't check for overlapping
regs when matching the pattern.
2015-09-23 James Greenhalgh <james.greenhalgh@arm.com>
* config/aarch64/aarch64-simd.md
......@@ -2129,11 +2129,6 @@
{
if (TARGET_SHMEDIA)
operands[1] = force_reg (SImode, operands[1]);
else if (! arith_operand (operands[2], SImode))
{
if (reg_overlap_mentioned_p (operands[0], operands[1]))
FAIL;
}
})
(define_insn "addsi3_media"
......@@ -2172,10 +2167,7 @@
[(set (match_operand:SI 0 "arith_reg_dest" "=r,&u")
(plus:SI (match_operand:SI 1 "arith_operand" "%0,r")
(match_operand:SI 2 "arith_or_int_operand" "rI08,rn")))]
"TARGET_SH1
&& ((rtx_equal_p (operands[0], operands[1])
&& arith_operand (operands[2], SImode))
|| ! reg_overlap_mentioned_p (operands[0], operands[1]))"
"TARGET_SH1"
"@
add %2,%0
#"
......
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