Commit 97f8690b by Jim Wilson

(general_movsrc_operand, general_movdst_operand): Delete

references to POST_DEC and PRE_INC.

From-SVN: r9571
parent c5d67833
...@@ -1663,9 +1663,7 @@ general_movsrc_operand (op, mode) ...@@ -1663,9 +1663,7 @@ general_movsrc_operand (op, mode)
return 1; return 1;
/* Only post inc allowed. */ /* Only post inc allowed. */
if (GET_CODE (inside) == POST_DEC if (GET_CODE (inside) == PRE_DEC)
|| GET_CODE (inside) == PRE_INC
|| GET_CODE (inside) == PRE_DEC)
return 0; return 0;
} }
...@@ -1687,10 +1685,7 @@ general_movdst_operand (op, mode) ...@@ -1687,10 +1685,7 @@ general_movdst_operand (op, mode)
enum machine_mode mode; enum machine_mode mode;
{ {
/* Only pre dec allowed. */ /* Only pre dec allowed. */
if (GET_CODE (op) == MEM if (GET_CODE (op) == MEM && GET_CODE (XEXP (op, 0)) == POST_INC)
&& (GET_CODE (XEXP (op, 0)) == PRE_INC
|| GET_CODE (XEXP (op, 0)) == POST_INC
|| GET_CODE (XEXP (op, 0)) == POST_DEC))
return 0; return 0;
return general_operand (op, mode); return general_operand (op, mode);
......
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