* jump.c (jump_optimize) Check for CONST_INT before using INTVAL.
From-SVN: r20962
This commit is contained in:
parent
eafdfea817
commit
702d7434a5
@ -1,3 +1,7 @@
|
|||||||
|
Mon Jul 6 22:17:19 1998 Alasdair Baird <alasdair@wildcat.demon.co.uk>
|
||||||
|
|
||||||
|
* jump.c (jump_optimize) Check for CONST_INT before using INTVAL.
|
||||||
|
|
||||||
Mon Jul 6 22:14:31 1998 Richard Henderson (rth@cygnus.com)
|
Mon Jul 6 22:14:31 1998 Richard Henderson (rth@cygnus.com)
|
||||||
|
|
||||||
* regclass.c (allocate_reg_info): Initialize the entire reg_data
|
* regclass.c (allocate_reg_info): Initialize the entire reg_data
|
||||||
|
@ -1299,11 +1299,13 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan)
|
|||||||
/* Check that the mask is a power of two,
|
/* Check that the mask is a power of two,
|
||||||
so that it can probably be generated
|
so that it can probably be generated
|
||||||
with a shift. */
|
with a shift. */
|
||||||
|
&& GET_CODE (temp3) == CONST_INT
|
||||||
&& exact_log2 (INTVAL (temp3)) >= 0))
|
&& exact_log2 (INTVAL (temp3)) >= 0))
|
||||||
&& (reversep = 0, temp2 == const0_rtx))
|
&& (reversep = 0, temp2 == const0_rtx))
|
||||||
|| ((BRANCH_COST >= 2
|
|| ((BRANCH_COST >= 2
|
||||||
|| STORE_FLAG_VALUE == -1
|
|| STORE_FLAG_VALUE == -1
|
||||||
|| (STORE_FLAG_VALUE == 1
|
|| (STORE_FLAG_VALUE == 1
|
||||||
|
&& GET_CODE (temp2) == CONST_INT
|
||||||
&& exact_log2 (INTVAL (temp2)) >= 0))
|
&& exact_log2 (INTVAL (temp2)) >= 0))
|
||||||
&& temp3 == const0_rtx
|
&& temp3 == const0_rtx
|
||||||
&& (reversep = can_reverse_comparison_p (temp4, insn)))
|
&& (reversep = can_reverse_comparison_p (temp4, insn)))
|
||||||
|
Loading…
Reference in New Issue
Block a user