From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LNBbl-0001uM-3I for qemu-devel@nongnu.org; Wed, 14 Jan 2009 14:40:57 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LNBbk-0001tM-7i for qemu-devel@nongnu.org; Wed, 14 Jan 2009 14:40:56 -0500 Received: from [199.232.76.173] (port=56200 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LNBbj-0001sw-Tx for qemu-devel@nongnu.org; Wed, 14 Jan 2009 14:40:55 -0500 Received: from savannah.gnu.org ([199.232.41.3]:60462 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LNBbj-0006b2-Kh for qemu-devel@nongnu.org; Wed, 14 Jan 2009 14:40:55 -0500 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1LNBbj-0000ys-5C for qemu-devel@nongnu.org; Wed, 14 Jan 2009 19:40:55 +0000 Received: from aurel32 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1LNBbi-0000ym-P9 for qemu-devel@nongnu.org; Wed, 14 Jan 2009 19:40:55 +0000 MIME-Version: 1.0 Errors-To: aurel32 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Aurelien Jarno Message-Id: Date: Wed, 14 Jan 2009 19:40:54 +0000 Subject: [Qemu-devel] [6308] target-ppc: fix wrteei instruction Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 }