Commit 1f5fb51f by Herman A.J. ten Brugge Committed by Richard Henderson

Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>

Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
        * jump.c (jump_optimize): Call regs_set_between_p with PREV_INSN(x),
        NEXT_INSN(x) to check insn x.

From-SVN: r24046
parent 45c85c4e
Tue Dec 1 15:03:30 1998 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
* jump.c (jump_optimize): Call regs_set_between_p with PREV_INSN(x),
NEXT_INSN(x) to check insn x.
Tue Dec 1 15:20:44 1998 Jeffrey A Law (law@cygnus.com)
* reload1.c (reload): Do not set reload_completed or split insns
......
......@@ -521,7 +521,8 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan)
|| ! modified_between_p (SET_SRC (temp4), p, temp2))
/* Verify that registers used by the jump are not clobbered
by the instruction being moved. */
&& ! regs_set_between_p (PATTERN (temp), temp2,
&& ! regs_set_between_p (PATTERN (temp),
PREV_INSN (temp2),
NEXT_INSN (temp2)))
{
emit_insn_after_with_line_notes (PATTERN (temp2), p, temp2);
......@@ -622,7 +623,8 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan)
&& ! modified_between_p (SET_SRC (temp4), insert_after, temp)
/* Verify that registers used by the jump are not clobbered
by the instruction being moved. */
&& ! regs_set_between_p (PATTERN (temp), temp3,
&& ! regs_set_between_p (PATTERN (temp),
PREV_INSN (temp3),
NEXT_INSN (temp3))
&& invert_jump (temp, JUMP_LABEL (insn)))
{
......
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