Commit fa0d32c4e4486ed7d4caf60bcf14306d0c7406ea

Authored by aurel32
1 parent 4cc633c3

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
Showing 1 changed file with 0 additions and 21 deletions
target-ppc/op_helper.c
... ... @@ -65,14 +65,6 @@ void helper_store_cr (target_ulong val, uint32_t mask)
65 65 }
66 66 }
67 67  
68   -#if defined(TARGET_PPC64)
69   -void do_store_pri (int prio)
70   -{
71   - env->spr[SPR_PPR] &= ~0x001C000000000000ULL;
72   - env->spr[SPR_PPR] |= ((uint64_t)prio & 0x7) << 50;
73   -}
74   -#endif
75   -
76 68 target_ulong ppc_load_dump_spr (int sprn)
77 69 {
78 70 if (loglevel != 0) {
... ... @@ -841,7 +833,6 @@ void helper_float_check_status (void)
841 833 if (msr_fe0 != 0 || msr_fe1 != 0)
842 834 raise_exception_err(env, env->exception_index, env->error_code);
843 835 }
844   - RETURN();
845 836 #endif
846 837 }
847 838  
... ... @@ -1574,18 +1565,6 @@ void helper_td (target_ulong arg1, target_ulong arg2, uint32_t flags)
1574 1565  
1575 1566 /*****************************************************************************/
1576 1567 /* PowerPC 601 specific instructions (POWER bridge) */
1577   -void do_POWER_abso (void)
1578   -{
1579   - if ((int32_t)T0 == INT32_MIN) {
1580   - T0 = INT32_MAX;
1581   - env->xer |= (1 << XER_OV) | (1 << XER_SO);
1582   - } else if ((int32_t)T0 < 0) {
1583   - T0 = -T0;
1584   - env->xer &= ~(1 << XER_OV);
1585   - } else {
1586   - env->xer &= ~(1 << XER_OV);
1587   - }
1588   -}
1589 1568  
1590 1569 target_ulong helper_clcs (uint32_t arg)
1591 1570 {
... ...