Commit 29e8f73f by Stan Cox

(ix86_binary_operator_ok): one memory operand is OK.

From-SVN: r11502
parent 8b760293
......@@ -1618,9 +1618,8 @@ ix86_binary_operator_ok (code, mode, operands)
enum machine_mode mode;
rtx operands[3];
{
return (GET_CODE (operands[1]) != MEM && GET_CODE (operands[2]) != MEM
&& GET_CODE (operands[1]) != CONST_INT)
|| GET_RTX_CLASS (code) == 'c';
return (GET_CODE (operands[1]) != MEM || GET_CODE (operands[2]) != MEM)
&& (GET_CODE (operands[1]) != CONST_INT || GET_RTX_CLASS (code) == 'c');
}
/* Attempt to expand a unary operator. Make the expansion closer to the
......
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