aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/op.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-ppc/op.c')
-rw-r--r--target-ppc/op.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/target-ppc/op.c b/target-ppc/op.c
index 2c02350315..2dc058efb1 100644
--- a/target-ppc/op.c
+++ b/target-ppc/op.c
@@ -317,6 +317,20 @@ void OPPROTO op_store_sr (void)
RETURN();
}
+#if defined(TARGET_PPC64)
+void OPPROTO op_load_slb (void)
+{
+ T0 = ppc_load_slb(env, T1);
+ RETURN();
+}
+
+void OPPROTO op_store_slb (void)
+{
+ ppc_store_slb(env, T1, T0);
+ RETURN();
+}
+#endif /* defined(TARGET_PPC64) */
+
void OPPROTO op_load_sdr1 (void)
{
T0 = env->sdr1;