Commit dbbe6445 by Richard Kenner

(simplify_binary_operation, case SMAX): Cast to unsiged HOST_WIDE_INT

instead of unsigned int.

From-SVN: r4259
parent adb7a1cb
......@@ -3716,7 +3716,8 @@ simplify_binary_operation (code, mode, op0, op1)
case SMAX:
if (width <= HOST_BITS_PER_WIDE_INT && GET_CODE (op1) == CONST_INT
&& INTVAL (op1) == (unsigned) GET_MODE_MASK (mode) >> 1
&& (INTVAL (op1)
== (unsigned HOST_WIDE_INT) GET_MODE_MASK (mode) >> 1)
&& ! side_effects_p (op0))
return op1;
else if (rtx_equal_p (op0, op1) && ! side_effects_p (op0))
......
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