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
This commit is contained in:
parent
45c85c4e71
commit
1f5fb51fab
@ -1,3 +1,8 @@
|
|||||||
|
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)
|
Tue Dec 1 15:20:44 1998 Jeffrey A Law (law@cygnus.com)
|
||||||
|
|
||||||
* reload1.c (reload): Do not set reload_completed or split insns
|
* 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))
|
|| ! modified_between_p (SET_SRC (temp4), p, temp2))
|
||||||
/* Verify that registers used by the jump are not clobbered
|
/* Verify that registers used by the jump are not clobbered
|
||||||
by the instruction being moved. */
|
by the instruction being moved. */
|
||||||
&& ! regs_set_between_p (PATTERN (temp), temp2,
|
&& ! regs_set_between_p (PATTERN (temp),
|
||||||
|
PREV_INSN (temp2),
|
||||||
NEXT_INSN (temp2)))
|
NEXT_INSN (temp2)))
|
||||||
{
|
{
|
||||||
emit_insn_after_with_line_notes (PATTERN (temp2), p, 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)
|
&& ! modified_between_p (SET_SRC (temp4), insert_after, temp)
|
||||||
/* Verify that registers used by the jump are not clobbered
|
/* Verify that registers used by the jump are not clobbered
|
||||||
by the instruction being moved. */
|
by the instruction being moved. */
|
||||||
&& ! regs_set_between_p (PATTERN (temp), temp3,
|
&& ! regs_set_between_p (PATTERN (temp),
|
||||||
|
PREV_INSN (temp3),
|
||||||
NEXT_INSN (temp3))
|
NEXT_INSN (temp3))
|
||||||
&& invert_jump (temp, JUMP_LABEL (insn)))
|
&& invert_jump (temp, JUMP_LABEL (insn)))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user