Commit 2d21f7d6 by Jan Hubicka Committed by Jan Hubicka

* combine.c (simplify_shift_const): Fix previous patch.

From-SVN: r63380
parent 8b6a662e
Mon Feb 24 22:08:22 CET 2003 Jan Hubicka <jh@suse.cz>
* combine.c (simplify_shift_const): Fix previous patch.
2003-02-24 Jeff Law <law@redhat.com> 2003-02-24 Jeff Law <law@redhat.com>
* i386.md (testdi_1_rex64): Discourage reload from using the %eax * i386.md (testdi_1_rex64): Discourage reload from using the %eax
......
...@@ -9434,12 +9434,12 @@ simplify_shift_const (x, code, result_mode, varop, orig_count) ...@@ -9434,12 +9434,12 @@ simplify_shift_const (x, code, result_mode, varop, orig_count)
if (code == LSHIFTRT if (code == LSHIFTRT
&& GET_MODE_BITSIZE (shift_mode) <= HOST_BITS_PER_WIDE_INT && GET_MODE_BITSIZE (shift_mode) <= HOST_BITS_PER_WIDE_INT
&& !(nonzero_bits (varop, shift_mode) >> count)) && !(nonzero_bits (varop, shift_mode) >> count))
return const0_rtx; varop = const0_rtx;
if (code == ASHIFT if (code == ASHIFT
&& GET_MODE_BITSIZE (shift_mode) <= HOST_BITS_PER_WIDE_INT && GET_MODE_BITSIZE (shift_mode) <= HOST_BITS_PER_WIDE_INT
&& !((nonzero_bits (varop, shift_mode) << count) && !((nonzero_bits (varop, shift_mode) << count)
& GET_MODE_MASK (shift_mode))) & GET_MODE_MASK (shift_mode)))
return const0_rtx; varop = const0_rtx;
switch (GET_CODE (varop)) switch (GET_CODE (varop))
{ {
......
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