Commit 847898f6 by Richard Kenner Committed by Richard Kenner

pa.c: Reflect changes in calling sequences of alter_reg and emit_cmp_insn.

	* config/pa/pa.c: Reflect changes in calling sequences of alter_reg and
	emit_cmp_insn.

From-SVN: r47101
parent d0225025
Fri Nov 16 15:22:35 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* config/pa/pa.c: Reflect changes in calling sequences of alter_reg and
emit_cmp_insn.
2001-11-16 Andreas Jaeger <aj@suse.de> 2001-11-16 Andreas Jaeger <aj@suse.de>
* cfglayout.c (fixup_fallthru_exit_predecesor): Make void, rename * cfglayout.c (fixup_fallthru_exit_predecesor): Make void, rename
......
...@@ -1209,7 +1209,7 @@ emit_move_sequence (operands, mode, scratch_reg) ...@@ -1209,7 +1209,7 @@ emit_move_sequence (operands, mode, scratch_reg)
rtx temp = gen_rtx_SUBREG (GET_MODE (operand0), rtx temp = gen_rtx_SUBREG (GET_MODE (operand0),
reg_equiv_mem [REGNO (SUBREG_REG (operand0))], reg_equiv_mem [REGNO (SUBREG_REG (operand0))],
SUBREG_BYTE (operand0)); SUBREG_BYTE (operand0));
operand0 = alter_subreg (temp); operand0 = alter_subreg (&temp);
} }
if (scratch_reg if (scratch_reg
...@@ -1226,7 +1226,7 @@ emit_move_sequence (operands, mode, scratch_reg) ...@@ -1226,7 +1226,7 @@ emit_move_sequence (operands, mode, scratch_reg)
rtx temp = gen_rtx_SUBREG (GET_MODE (operand1), rtx temp = gen_rtx_SUBREG (GET_MODE (operand1),
reg_equiv_mem [REGNO (SUBREG_REG (operand1))], reg_equiv_mem [REGNO (SUBREG_REG (operand1))],
SUBREG_BYTE (operand1)); SUBREG_BYTE (operand1));
operand1 = alter_subreg (temp); operand1 = alter_subreg (&temp);
} }
if (scratch_reg && reload_in_progress && GET_CODE (operand0) == MEM if (scratch_reg && reload_in_progress && GET_CODE (operand0) == MEM
...@@ -3551,24 +3551,20 @@ return_addr_rtx (count, frameaddr) ...@@ -3551,24 +3551,20 @@ return_addr_rtx (count, frameaddr)
If it is an export stub, than our return address is really in If it is an export stub, than our return address is really in
-24[frameaddr]. */ -24[frameaddr]. */
emit_cmp_insn (gen_rtx_MEM (SImode, ins), emit_cmp_insn (gen_rtx_MEM (SImode, ins), GEN_INT (0x4bc23fd1), NE,
GEN_INT (0x4bc23fd1), NULL_RTX, SImode, 1);
NE, NULL_RTX, SImode, 1, 0);
emit_jump_insn (gen_bne (label)); emit_jump_insn (gen_bne (label));
emit_cmp_insn (gen_rtx_MEM (SImode, plus_constant (ins, 4)), emit_cmp_insn (gen_rtx_MEM (SImode, plus_constant (ins, 4)),
GEN_INT (0x004010a1), GEN_INT (0x004010a1), NE, NULL_RTX, SImode, 1);
NE, NULL_RTX, SImode, 1, 0);
emit_jump_insn (gen_bne (label)); emit_jump_insn (gen_bne (label));
emit_cmp_insn (gen_rtx_MEM (SImode, plus_constant (ins, 8)), emit_cmp_insn (gen_rtx_MEM (SImode, plus_constant (ins, 8)),
GEN_INT (0x00011820), GEN_INT (0x00011820), NE, NULL_RTX, SImode, 1);
NE, NULL_RTX, SImode, 1, 0);
emit_jump_insn (gen_bne (label)); emit_jump_insn (gen_bne (label));
emit_cmp_insn (gen_rtx_MEM (SImode, plus_constant (ins, 12)), emit_cmp_insn (gen_rtx_MEM (SImode, plus_constant (ins, 12)),
GEN_INT (0xe0400002), GEN_INT (0xe0400002), NE, NULL_RTX, SImode, 1);
NE, NULL_RTX, SImode, 1, 0);
/* If there is no export stub then just use the value saved from /* If there is no export stub then just use the value saved from
the return pointer register. */ the return pointer register. */
......
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