aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/op.c
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-06 13:03:35 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-06 13:03:35 +0000
commit6527f6ea9c2ab3116bd363457021b93bd531d858 (patch)
tree5778a04a73bd3fbb1fcbc6fc5d744081af92e9e7 /target-ppc/op.c
parent22e0e173376d702bdd9757d308924b6df7cd6529 (diff)
target-ppc: convert msr load/store to TCG
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5892 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/op.c')
-rw-r--r--target-ppc/op.c43
1 files changed, 0 insertions, 43 deletions
diff --git a/target-ppc/op.c b/target-ppc/op.c
index d3df7fc0c8..18843767f0 100644
--- a/target-ppc/op.c
+++ b/target-ppc/op.c
@@ -79,38 +79,6 @@ void OPPROTO op_store_asr (void)
RETURN();
}
#endif
-
-void OPPROTO op_load_msr (void)
-{
- T0 = env->msr;
- RETURN();
-}
-
-void OPPROTO op_store_msr (void)
-{
- do_store_msr();
- RETURN();
-}
-
-#if defined (TARGET_PPC64)
-void OPPROTO op_store_msr_32 (void)
-{
- T0 = (env->msr & ~0xFFFFFFFFULL) | (T0 & 0xFFFFFFFF);
- do_store_msr();
- RETURN();
-}
-#endif
-
-void OPPROTO op_update_riee (void)
-{
- /* We don't call do_store_msr here as we won't trigger
- * any special case nor change hflags
- */
- T0 &= (1 << MSR_RI) | (1 << MSR_EE);
- env->msr &= ~(1 << MSR_RI) | (1 << MSR_EE);
- env->msr |= T0;
- RETURN();
-}
#endif
/* SPR */
@@ -394,17 +362,6 @@ void OPPROTO op_store_dcr (void)
}
#if !defined(CONFIG_USER_ONLY)
-void OPPROTO op_wrte (void)
-{
- /* We don't call do_store_msr here as we won't trigger
- * any special case nor change hflags
- */
- T0 &= 1 << MSR_EE;
- env->msr &= ~(1 << MSR_EE);
- env->msr |= T0;
- RETURN();
-}
-
void OPPROTO op_440_tlbre (void)
{
do_440_tlbre(PARAM1);