Commit 313adae9051ce95fa6a4c6dc9cb2bda3a4a425fc
1 parent
a316d335
removed unneeded code
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1631 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
11 deletions
target-ppc/helper.c
@@ -806,7 +806,7 @@ void do_compute_hflags (CPUPPCState *env) | @@ -806,7 +806,7 @@ void do_compute_hflags (CPUPPCState *env) | ||
806 | } | 806 | } |
807 | 807 | ||
808 | void do_store_msr (CPUPPCState *env, target_ulong value) | 808 | void do_store_msr (CPUPPCState *env, target_ulong value) |
809 | - { | 809 | +{ |
810 | value &= env->msr_mask; | 810 | value &= env->msr_mask; |
811 | if (((value >> MSR_IR) & 1) != msr_ir || | 811 | if (((value >> MSR_IR) & 1) != msr_ir || |
812 | ((value >> MSR_DR) & 1) != msr_dr) { | 812 | ((value >> MSR_DR) & 1) != msr_dr) { |
@@ -1436,15 +1436,5 @@ void do_interrupt (CPUState *env) | @@ -1436,15 +1436,5 @@ void do_interrupt (CPUState *env) | ||
1436 | /* Jump to handler */ | 1436 | /* Jump to handler */ |
1437 | env->nip = excp; | 1437 | env->nip = excp; |
1438 | env->exception_index = EXCP_NONE; | 1438 | env->exception_index = EXCP_NONE; |
1439 | -#if 0 | ||
1440 | - /* ensure that no TB jump will be modified as | ||
1441 | - the program flow was changed */ | ||
1442 | -#ifdef __sparc__ | ||
1443 | - tmp_T0 = 0; | ||
1444 | -#else | ||
1445 | - T0 = 0; | ||
1446 | -#endif | ||
1447 | -#endif | ||
1448 | - env->interrupt_request |= CPU_INTERRUPT_EXITTB; | ||
1449 | } | 1439 | } |
1450 | #endif /* !CONFIG_USER_ONLY */ | 1440 | #endif /* !CONFIG_USER_ONLY */ |