Commit 2ef1a7f9 by Geoffrey Keating Committed by Geoffrey Keating

combine.c (try_combine): Mask off sign bits when combining stores to the low and high parts of a...

	* combine.c (try_combine): Mask off sign bits when combining
	stores to the low and high parts of a two-word value.

From-SVN: r48339
parent 19f90fad
2001-12-27 Geoff Keating <geoffk@redhat.com> 2001-12-27 Geoff Keating <geoffk@redhat.com>
* combine.c (try_combine): Mask off sign bits when combining
stores to the low and high parts of a two-word value.
* expr.c (expand_expr): Don't mark memory for non-constants as * expr.c (expand_expr): Don't mark memory for non-constants as
constant. constant.
......
...@@ -1650,7 +1650,8 @@ try_combine (i3, i2, i1, new_direct_jump_p) ...@@ -1650,7 +1650,8 @@ try_combine (i3, i2, i1, new_direct_jump_p)
abort (); abort ();
lo &= ~(UWIDE_SHIFT_LEFT_BY_BITS_PER_WORD (1) - 1); lo &= ~(UWIDE_SHIFT_LEFT_BY_BITS_PER_WORD (1) - 1);
lo |= INTVAL (SET_SRC (PATTERN (i3))); lo |= (INTVAL (SET_SRC (PATTERN (i3)))
& (UWIDE_SHIFT_LEFT_BY_BITS_PER_WORD (1) - 1));
} }
else if (HOST_BITS_PER_WIDE_INT == BITS_PER_WORD) else if (HOST_BITS_PER_WIDE_INT == BITS_PER_WORD)
hi = INTVAL (SET_SRC (PATTERN (i3))); hi = INTVAL (SET_SRC (PATTERN (i3)));
......
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