mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-13 18:30:59 +08:00
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
This commit is contained in:
parent
f80352b81a
commit
0f005f338f
@ -1,3 +1,8 @@
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user