aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Ellcey <sje@cup.hp.com>2008-12-08 23:25:51 +0000
committerSteve Ellcey <sje@gcc.gnu.org>2008-12-08 23:25:51 +0000
commit39a5cfa4920bfd9665eb558820b78db05e0cbc00 (patch)
tree25a68b795a8c4dd9ea0dc01201dea913be6c6b78
parent3e33a6b21c73802ac52bb80bac74435f1db4d05d (diff)
downloadgcc-39a5cfa4920bfd9665eb558820b78db05e0cbc00.zip
gcc-39a5cfa4920bfd9665eb558820b78db05e0cbc00.tar.gz
gcc-39a5cfa4920bfd9665eb558820b78db05e0cbc00.tar.bz2
ia64.md (UNSPECV_GOTO_RECEIVER): New constant.
* config/ia64/ia64.md (UNSPECV_GOTO_RECEIVER): New constant. (nonlocal_goto_receiver): New instruction. From-SVN: r142568
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/ia64/ia64.md12
2 files changed, 17 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 979d207..ad62abe 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/ia64/ia64.md b/gcc/config/ia64/ia64.md
index b03032d..b4894ab 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)]
""