aboutsummaryrefslogtreecommitdiff
path: root/target-sparc/op.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-sparc/op.c')
-rw-r--r--target-sparc/op.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/target-sparc/op.c b/target-sparc/op.c
index dd8295e559..7fa98f16b6 100644
--- a/target-sparc/op.c
+++ b/target-sparc/op.c
@@ -812,6 +812,11 @@ void OPPROTO op_movl_npc_T0(void)
env->npc = T0;
}
+void OPPROTO op_mov_pc_npc(void)
+{
+ env->pc = env->npc;
+}
+
void OPPROTO op_next_insn(void)
{
env->pc = env->npc;