diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-11-20 10:33:00 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-11-20 10:33:00 +0000 |
commit | 313adae9051ce95fa6a4c6dc9cb2bda3a4a425fc (patch) | |
tree | 776e09c768c689e87605ce6454351715993b0081 /target-ppc/helper.c | |
parent | a316d3353cefb6634f8007c8bb18f4744a66766b (diff) | |
download | qemu-313adae9051ce95fa6a4c6dc9cb2bda3a4a425fc.zip |
removed unneeded code
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1631 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/helper.c')
-rw-r--r-- | target-ppc/helper.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/target-ppc/helper.c b/target-ppc/helper.c index 66c26041c4..c3b02d8cc7 100644 --- a/target-ppc/helper.c +++ b/target-ppc/helper.c @@ -806,7 +806,7 @@ void do_compute_hflags (CPUPPCState *env) } void do_store_msr (CPUPPCState *env, target_ulong value) - { +{ value &= env->msr_mask; if (((value >> MSR_IR) & 1) != msr_ir || ((value >> MSR_DR) & 1) != msr_dr) { @@ -1436,15 +1436,5 @@ void do_interrupt (CPUState *env) /* Jump to handler */ env->nip = excp; env->exception_index = EXCP_NONE; -#if 0 - /* ensure that no TB jump will be modified as - the program flow was changed */ -#ifdef __sparc__ - tmp_T0 = 0; -#else - T0 = 0; -#endif -#endif - env->interrupt_request |= CPU_INTERRUPT_EXITTB; } #endif /* !CONFIG_USER_ONLY */ |