Commit 855c3a2e by Igor Shevlyakov Committed by Richard Henderson

combine.c (simplify_set): Don't call to force_to_mode if size of integer type is larger than...

        * combine.c (simplify_set): Don't call to force_to_mode if size
        of integer type is larger than HOST_BITS_PER_WIDE_INT.

From-SVN: r57549
parent d57f8a71
2002-09-26 Igor Shevlyakov <igor@microunity.com>
* combine.c (simplify_set): Don't call to force_to_mode if size
of integer type is larger than HOST_BITS_PER_WIDE_INT.
2002-09-26 Janis Johnson <janis187@us.ibm.com>
* Makefile.in (qmtest-g++): Fix file path.
......
......@@ -5011,7 +5011,8 @@ simplify_set (x)
simplify the expression for the object knowing that we only need the
low-order bits. */
if (GET_MODE_CLASS (mode) == MODE_INT)
if (GET_MODE_CLASS (mode) == MODE_INT
&& GET_MODE_BITSIZE (mode) <= HOST_BITS_PER_WIDE_INT)
{
src = force_to_mode (src, mode, ~(HOST_WIDE_INT) 0, NULL_RTX, 0);
SUBST (SET_SRC (x), src);
......
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