aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>2001-01-03 13:55:47 +0000
committerRichard Kenner <kenner@gcc.gnu.org>2001-01-03 08:55:47 -0500
commita338321ef92cecdd360a097d4c167d5fc882a52c (patch)
tree8df84624eed568fde659037a954a3d50d7850911
parent560b62511cf67eda651dfeae98004978e487c4a4 (diff)
downloadgcc-a338321ef92cecdd360a097d4c167d5fc882a52c.zip
gcc-a338321ef92cecdd360a097d4c167d5fc882a52c.tar.gz
gcc-a338321ef92cecdd360a097d4c167d5fc882a52c.tar.bz2
sparc.md (nonlocal_goto): Emit goto_handler_and_restore as JUMP_INSN.
* config/sparc/sparc.md (nonlocal_goto): Emit goto_handler_and_restore as JUMP_INSN. From-SVN: r38655
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/sparc/sparc.md7
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a623299..c5743e5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Wed Jan 3 08:53:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
+
+ * config/sparc/sparc.md (nonlocal_goto): Emit goto_handler_and_restore
+ as JUMP_INSN.
+
2001-01-01 Bernd Schmidt <bernds@redhat.com>
* builtins.c (expand_builtin_return_addr): Don't use MEM_ALIAS_SET on
diff --git a/gcc/config/sparc/sparc.md b/gcc/config/sparc/sparc.md
index 0d28488..861aee2 100644
--- a/gcc/config/sparc/sparc.md
+++ b/gcc/config/sparc/sparc.md
@@ -8970,8 +8970,9 @@
if (TARGET_V9 && GET_CODE (chain) == CONST_INT
&& ! (INTVAL (chain) & ~(HOST_WIDE_INT)0xffffffff))
{
- emit_insn (gen_goto_handler_and_restore_v9 (labreg, static_chain_rtx,
- chain));
+ emit_jump_insn (gen_goto_handler_and_restore_v9 (labreg,
+ static_chain_rtx,
+ chain));
emit_barrier ();
DONE;
}
@@ -8980,7 +8981,7 @@
#endif
emit_insn (gen_rtx_USE (VOIDmode, static_chain_rtx));
- emit_insn (gen_goto_handler_and_restore (labreg));
+ emit_jump_insn (gen_goto_handler_and_restore (labreg));
emit_barrier ();
DONE;
}")