(movstricthi): Remove extraneous comparisons.
From-SVN: r13890
This commit is contained in:
parent
67cbb7a7d4
commit
5716e64528
@ -963,19 +963,13 @@
|
|||||||
(match_operand:HI 1 "general_operand" "rmn"))]
|
(match_operand:HI 1 "general_operand" "rmn"))]
|
||||||
""
|
""
|
||||||
"*
|
"*
|
||||||
{
|
|
||||||
if (GET_CODE (operands[1]) == CONST_INT)
|
|
||||||
{
|
{
|
||||||
if (operands[1] == const0_rtx
|
if (operands[1] == const0_rtx
|
||||||
&& (DATA_REG_P (operands[0])
|
|
||||||
|| GET_CODE (operands[0]) == MEM)
|
|
||||||
/* clr insns on 68000 read before writing.
|
/* clr insns on 68000 read before writing.
|
||||||
This isn't so on the 68010, but we have no TARGET_68010. */
|
This isn't so on the 68010, but we have no TARGET_68010. */
|
||||||
&& ((TARGET_68020 || TARGET_5200)
|
&& ((TARGET_68020 || TARGET_5200)
|
||||||
|| !(GET_CODE (operands[0]) == MEM
|
|| !(GET_CODE (operands[0]) == MEM && MEM_VOLATILE_P (operands[0]))))
|
||||||
&& MEM_VOLATILE_P (operands[0]))))
|
|
||||||
return \"clr%.w %0\";
|
return \"clr%.w %0\";
|
||||||
}
|
|
||||||
return \"move%.w %1,%0\";
|
return \"move%.w %1,%0\";
|
||||||
}")
|
}")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user