diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-14 19:40:54 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-14 19:40:54 +0000 |
commit | 1b6e5f990641796dc7c370e297a60bfcdb6ca62d (patch) | |
tree | 32ee2f44675659e21d5b767e38f8be5415d56675 /target-ppc/translate.c | |
parent | e9203484cba1f15b81e38d0b1be78806d8d66174 (diff) | |
download | hqemu-1b6e5f990641796dc7c370e297a60bfcdb6ca62d.zip hqemu-1b6e5f990641796dc7c370e297a60bfcdb6ca62d.tar.gz |
target-ppc: fix wrteei instruction
Patch by Andrew May
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6308 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/translate.c')
-rw-r--r-- | target-ppc/translate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-ppc/translate.c b/target-ppc/translate.c index 0cfcc08..8a99228 100644 --- a/target-ppc/translate.c +++ b/target-ppc/translate.c @@ -6077,7 +6077,7 @@ GEN_HANDLER(wrteei, 0x1F, 0x03, 0x05, 0x000EFC01, PPC_WRTEE) /* Stop translation to have a chance to raise an exception */ gen_stop_exception(ctx); } else { - tcg_gen_andi_tl(cpu_msr, cpu_msr, (1 << MSR_EE)); + tcg_gen_andi_tl(cpu_msr, cpu_msr, ~(1 << MSR_EE)); } #endif } |