Re-apply hopefully fixed patch:
* i386.md (UNSPECV_EH_RETURN): Kill. (eh_return): Use jump_insn. (eh_return_si, eh_return_di): Change pattern to jump instruction. From-SVN: r82624
This commit is contained in:
parent
9cf84a3cf0
commit
2e2052b19a
2 changed files with 17 additions and 7 deletions
|
@ -1,3 +1,10 @@
|
|||
2004-06-04 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
Re-apply hopefully fixed patch:
|
||||
* i386.md (UNSPECV_EH_RETURN): Kill.
|
||||
(eh_return): Use jump_insn.
|
||||
(eh_return_si, eh_return_di): Change pattern to jump instruction.
|
||||
|
||||
2004-06-04 Jeff Law <law@redhat.com>
|
||||
|
||||
* cfgrtl.c (try_redirect_by_replacing_jump): Fix return value.
|
||||
|
|
|
@ -137,11 +137,12 @@
|
|||
|
||||
; REP instruction
|
||||
(UNSPEC_REP 75)
|
||||
|
||||
(UNSPEC_EH_RETURN 76)
|
||||
])
|
||||
|
||||
(define_constants
|
||||
[(UNSPECV_BLOCKAGE 0)
|
||||
(UNSPECV_EH_RETURN 13)
|
||||
(UNSPECV_EMMS 31)
|
||||
(UNSPECV_LDMXCSR 37)
|
||||
(UNSPECV_STMXCSR 40)
|
||||
|
@ -13890,16 +13891,17 @@
|
|||
emit_move_insn (tmp, ra);
|
||||
|
||||
if (Pmode == SImode)
|
||||
emit_insn (gen_eh_return_si (sa));
|
||||
emit_jump_insn (gen_eh_return_si (sa));
|
||||
else
|
||||
emit_insn (gen_eh_return_di (sa));
|
||||
emit_jump_insn (gen_eh_return_di (sa));
|
||||
emit_barrier ();
|
||||
DONE;
|
||||
})
|
||||
|
||||
(define_insn_and_split "eh_return_si"
|
||||
[(unspec_volatile [(match_operand:SI 0 "register_operand" "c")]
|
||||
UNSPECV_EH_RETURN)]
|
||||
[(set (pc)
|
||||
(unspec [(match_operand:SI 0 "register_operand" "c")]
|
||||
UNSPEC_EH_RETURN))]
|
||||
"!TARGET_64BIT"
|
||||
"#"
|
||||
"reload_completed"
|
||||
|
@ -13907,8 +13909,9 @@
|
|||
"ix86_expand_epilogue (2); DONE;")
|
||||
|
||||
(define_insn_and_split "eh_return_di"
|
||||
[(unspec_volatile [(match_operand:DI 0 "register_operand" "c")]
|
||||
UNSPECV_EH_RETURN)]
|
||||
[(set (pc)
|
||||
(unspec [(match_operand:DI 0 "register_operand" "c")]
|
||||
UNSPEC_EH_RETURN))]
|
||||
"TARGET_64BIT"
|
||||
"#"
|
||||
"reload_completed"
|
||||
|
|
Loading…
Add table
Reference in a new issue