summaryrefslogtreecommitdiff
path: root/target-ppc/op_helper.c
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-07 13:40:15 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-07 13:40:15 +0000
commitfa0d32c4e4486ed7d4caf60bcf14306d0c7406ea (patch)
tree38e8c7ae70a929386bb9cffa3cc27d13d6a9d10b /target-ppc/op_helper.c
parent4cc633c38bb785bc9e586fa26b9a9e22bb41200c (diff)
downloadqemu-fa0d32c4e4486ed7d4caf60bcf14306d0c7406ea.tar.gz
qemu-fa0d32c4e4486ed7d4caf60bcf14306d0c7406ea.tar.bz2
qemu-fa0d32c4e4486ed7d4caf60bcf14306d0c7406ea.zip
target-ppc: remove dead code
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5909 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/op_helper.c')
-rw-r--r--target-ppc/op_helper.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/target-ppc/op_helper.c b/target-ppc/op_helper.c
index a4dc41d0c4..cc760d1327 100644
--- a/target-ppc/op_helper.c
+++ b/target-ppc/op_helper.c
@@ -65,14 +65,6 @@ void helper_store_cr (target_ulong val, uint32_t mask)
}
}
-#if defined(TARGET_PPC64)
-void do_store_pri (int prio)
-{
- env->spr[SPR_PPR] &= ~0x001C000000000000ULL;
- env->spr[SPR_PPR] |= ((uint64_t)prio & 0x7) << 50;
-}
-#endif
-
target_ulong ppc_load_dump_spr (int sprn)
{
if (loglevel != 0) {
@@ -841,7 +833,6 @@ void helper_float_check_status (void)
if (msr_fe0 != 0 || msr_fe1 != 0)
raise_exception_err(env, env->exception_index, env->error_code);
}
- RETURN();
#endif
}
@@ -1574,18 +1565,6 @@ void helper_td (target_ulong arg1, target_ulong arg2, uint32_t flags)
/*****************************************************************************/
/* PowerPC 601 specific instructions (POWER bridge) */
-void do_POWER_abso (void)
-{
- if ((int32_t)T0 == INT32_MIN) {
- T0 = INT32_MAX;
- env->xer |= (1 << XER_OV) | (1 << XER_SO);
- } else if ((int32_t)T0 < 0) {
- T0 = -T0;
- env->xer &= ~(1 << XER_OV);
- } else {
- env->xer &= ~(1 << XER_OV);
- }
-}
target_ulong helper_clcs (uint32_t arg)
{