qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [6308] target-ppc: fix wrteei instruction
@ 2009-01-14 19:40 Aurelien Jarno
  0 siblings, 0 replies; only message in thread
From: Aurelien Jarno @ 2009-01-14 19:40 UTC (permalink / raw)
  To: qemu-devel

Revision: 6308
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6308
Author:   aurel32
Date:     2009-01-14 19:40:54 +0000 (Wed, 14 Jan 2009)

Log Message:
-----------
target-ppc: fix wrteei instruction

Patch by Andrew May

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

Modified: trunk/target-ppc/translate.c
===================================================================
--- trunk/target-ppc/translate.c	2009-01-14 19:40:46 UTC (rev 6307)
+++ trunk/target-ppc/translate.c	2009-01-14 19:40:54 UTC (rev 6308)
@@ -6077,7 +6077,7 @@
         /* 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
 }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-14 19:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-14 19:40 [Qemu-devel] [6308] target-ppc: fix wrteei instruction Aurelien Jarno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).