Commit 1e96b1c3 by Jie Zhang Committed by Jie Zhang

bfin.md (eh_return): Call emit_jump_insn instead of emit_insn to emit…

bfin.md (eh_return): Call emit_jump_insn instead of emit_insn to emit eh_return_internal instruction.

	* config/bfin/bfin.md (eh_return): Call emit_jump_insn instead of
	emit_insn to emit eh_return_internal instruction.
	(eh_return_internal): Explicitly set pc.

From-SVN: r117662
parent f724eac4
2006-10-12 Jie Zhang <jie.zhang@analog.com>
* config/bfin/bfin.md (eh_return): Call emit_jump_insn instead of
emit_insn to emit eh_return_internal instruction.
(eh_return_internal): Explicitly set pc.
2006-10-11 Richard Guenther <rguenther@suse.de>
PR tree-optimization/28230
......
......@@ -2337,13 +2337,14 @@
""
{
emit_move_insn (EH_RETURN_HANDLER_RTX, operands[0]);
emit_insn (gen_eh_return_internal ());
emit_jump_insn (gen_eh_return_internal ());
emit_barrier ();
DONE;
})
(define_insn_and_split "eh_return_internal"
[(unspec_volatile [(reg:SI REG_P2)] UNSPEC_VOLATILE_EH_RETURN)]
[(set (pc)
(unspec_volatile [(reg:SI REG_P2)] UNSPEC_VOLATILE_EH_RETURN))]
""
"#"
"reload_completed"
......
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