510c510
< plus_constant to try to simplify it.
---
> simplify_gen_binary to try to simplify it.
513c513
< if (GET_CODE (XEXP (x, 1)) == CONST_INT)
---
> if (GET_CODE (XEXP (x, 1)) == CONST_INT && XEXP (x, 1) == to)
< plus_constant to try to simplify it.
---
> simplify_gen_binary to try to simplify it.
513c513
< if (GET_CODE (XEXP (x, 1)) == CONST_INT)
---
> if (GET_CODE (XEXP (x, 1)) == CONST_INT && XEXP (x, 1) == to)