combine.c (simplify_rtx, [...]): Respect value of TRULY_NOOP_TRUNCATION.

8
        * combine.c (simplify_rtx, case TRUNCATE): Respect value of
        TRULY_NOOP_TRUNCATION.

From-SVN: r19204
This commit is contained in:
Jeff Law 1998-04-14 02:04:21 -06:00
parent d5daf0986f
commit 80608e2793

View file

@ -3736,7 +3736,9 @@ simplify_rtx (x, op0_mode, last, in_dest)
if (GET_MODE_CLASS (mode) == MODE_PARTIAL_INT)
break;
if (GET_MODE_BITSIZE (mode) <= HOST_BITS_PER_WIDE_INT)
if (GET_MODE_BITSIZE (mode) <= HOST_BITS_PER_WIDE_INT
&& TRULY_NOOP_TRUNCATION (GET_MODE_BITSIZE (mode),
GET_MODE_BITSIZE (GET_MODE (XEXP (x, 0)))))
SUBST (XEXP (x, 0),
force_to_mode (XEXP (x, 0), GET_MODE (XEXP (x, 0)),
GET_MODE_MASK (mode), NULL_RTX, 0));