From 39a5cfa4920bfd9665eb558820b78db05e0cbc00 Mon Sep 17 00:00:00 2001 From: Steve Ellcey Date: Mon, 8 Dec 2008 23:25:51 +0000 Subject: [PATCH] ia64.md (UNSPECV_GOTO_RECEIVER): New constant. * config/ia64/ia64.md (UNSPECV_GOTO_RECEIVER): New constant. (nonlocal_goto_receiver): New instruction. From-SVN: r142568 --- gcc/ChangeLog | 5 +++++ gcc/config/ia64/ia64.md | 12 ++++++++++++ 2 files changed, 17 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 979d2070138e..ad62abe1befa 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-12-08 Steve Ellcey + + * config/ia64/ia64.md (UNSPECV_GOTO_RECEIVER): New constant. + (nonlocal_goto_receiver): New instruction. + 2008-12-08 Jakub Jelinek PR c/35443 diff --git a/gcc/config/ia64/ia64.md b/gcc/config/ia64/ia64.md index b03032dd020f..b4894ab8bb75 100644 --- a/gcc/config/ia64/ia64.md +++ b/gcc/config/ia64/ia64.md @@ -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)] ""