Commit 0f005f33 by Andrew Pinski

dojump.c (prefer_and_bit_test): Fix which part of the and_test is replaced.

2004-03-21  Andrew Pinski  <pinskia@gcc.gnu.org>

        * dojump.c (prefer_and_bit_test): Fix which part of
        the and_test is replaced.

From-SVN: r79784
parent f80352b8
2004-03-21 Andrew Pinski <pinskia@gcc.gnu.org>
* dojump.c (prefer_and_bit_test): Fix which part of
the and_test is replaced.
2004-03-21 Joseph S. Myers <jsm@polyomino.org.uk>
* frontends.texi: Add missing line.
......@@ -274,7 +279,6 @@
* config/rs6000/rs6000.h: Definition of DWARF_CIE_DATA_ALIGNMENT
macro for mixed mode.
>>>>>>> 2.3203
2004-03-18 Jan Hubicka <jh@suse.cz>
* predict.c (propagate_freq): Compute correctly frequency of
......
......@@ -135,7 +135,7 @@ prefer_and_bit_test (enum machine_mode mode, int bitnum)
}
/* Fill in the integers. */
XEXP (and_test, 0) = GEN_INT ((unsigned HOST_WIDE_INT) 1 << bitnum);
XEXP (and_test, 1) = GEN_INT ((unsigned HOST_WIDE_INT) 1 << bitnum);
XEXP (XEXP (shift_test, 0), 1) = GEN_INT (bitnum);
return (rtx_cost (and_test, IF_THEN_ELSE)
......
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