Fix last patch to allow indexed operand.

From-SVN: r45809
This commit is contained in:
David Edelsohn 2001-09-25 14:02:42 -04:00
parent ca6c03cabd
commit e903c96af0

View File

@ -1310,8 +1310,8 @@ lwa_operand (op, mode)
&& GET_CODE (XEXP (inner, 0)) != PRE_INC && GET_CODE (XEXP (inner, 0)) != PRE_INC
&& GET_CODE (XEXP (inner, 0)) != PRE_DEC && GET_CODE (XEXP (inner, 0)) != PRE_DEC
&& (GET_CODE (XEXP (inner, 0)) != PLUS && (GET_CODE (XEXP (inner, 0)) != PLUS
|| (GET_CODE (XEXP (XEXP (inner, 0), 1)) == CONST_INT || GET_CODE (XEXP (XEXP (inner, 0), 1)) != CONST_INT
&& INTVAL (XEXP (XEXP (inner, 0), 1)) % 4 == 0))); || INTVAL (XEXP (XEXP (inner, 0), 1)) % 4 == 0));
} }
/* Return 1 if the operand, used inside a MEM, is a valid first argument /* Return 1 if the operand, used inside a MEM, is a valid first argument