qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [5909] target-ppc: remove dead code


From: Aurelien Jarno
Subject: [Qemu-devel] [5909] target-ppc: remove dead code
Date: Sun, 07 Dec 2008 13:40:15 +0000

Revision: 5909
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5909
Author:   aurel32
Date:     2008-12-07 13:40:15 +0000 (Sun, 07 Dec 2008)

Log Message:
-----------
target-ppc: remove dead code

Signed-off-by: Aurelien Jarno <address@hidden>

Modified Paths:
--------------
    trunk/target-ppc/op_helper.c

Modified: trunk/target-ppc/op_helper.c
===================================================================
--- trunk/target-ppc/op_helper.c        2008-12-07 13:32:09 UTC (rev 5908)
+++ trunk/target-ppc/op_helper.c        2008-12-07 13:40:15 UTC (rev 5909)
@@ -65,14 +65,6 @@
     }
 }
 
-#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 @@
         if (msr_fe0 != 0 || msr_fe1 != 0)
             raise_exception_err(env, env->exception_index, env->error_code);
     }
-    RETURN();
 #endif
 }
 
@@ -1574,18 +1565,6 @@
 
 /*****************************************************************************/
 /* 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)
 {






reply via email to

[Prev in Thread] Current Thread [Next in Thread]