revert: simplify-rtx.c (simplify_const_binary_operation): Use the shift_truncation_ma...
authorBernd Schmidt <bernds@codesourcery.com>
Wed, 6 Jul 2011 23:56:28 +0000 (23:56 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Wed, 6 Jul 2011 23:56:28 +0000 (23:56 +0000)
commitd58c1a38e5c0ce489f788694a079433dc4b2be61
treed99807e2dbeb0883a50f58e795079c5ca73dd4dc
parent5511bc5ada2bd2bc9ab835d0ed9fd96a83d3260d
revert: simplify-rtx.c (simplify_const_binary_operation): Use the shift_truncation_mask hook instead of performing modulo by width.

Revert:
* simplify-rtx.c (simplify_const_binary_operation): Use the
shift_truncation_mask hook instead of performing modulo by
width.  Compare against mode precision, not bitsize.
* combine.c (combine_simplify_rtx, simplify_shift_const_1):
Use shift_truncation_mask instead of constructing the value
manually.

From-SVN: r175949
gcc/ChangeLog
gcc/combine.c
gcc/simplify-rtx.c