ia64.md (UNSPECV_GOTO_RECEIVER): New constant.

* config/ia64/ia64.md (UNSPECV_GOTO_RECEIVER): New constant.
	(nonlocal_goto_receiver): New instruction.

From-SVN: r142568
This commit is contained in:
Steve Ellcey 2008-12-08 23:25:51 +00:00 committed by Steve Ellcey
parent 3e33a6b21c
commit 39a5cfa492
2 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2008-12-08 Steve Ellcey <sje@cup.hp.com>
* config/ia64/ia64.md (UNSPECV_GOTO_RECEIVER): New constant.
(nonlocal_goto_receiver): New instruction.
2008-12-08 Jakub Jelinek <jakub@redhat.com>
PR c/35443

View File

@ -102,6 +102,7 @@
(UNSPECV_PSAC_ALL 5) ; pred.safe_across_calls
(UNSPECV_PSAC_NORMAL 6)
(UNSPECV_SETJMP_RECEIVER 7)
(UNSPECV_GOTO_RECEIVER 8)
])
(include "predicates.md")
@ -6400,6 +6401,17 @@
DONE;
})
(define_insn_and_split "nonlocal_goto_receiver"
[(unspec_volatile [(const_int 0)] UNSPECV_GOTO_RECEIVER)]
""
"#"
"reload_completed"
[(const_int 0)]
{
ia64_reload_gp ();
DONE;
})
(define_insn_and_split "builtin_setjmp_receiver"
[(unspec_volatile [(match_operand:DI 0 "" "")] UNSPECV_SETJMP_RECEIVER)]
""