From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LdKVo-0001ap-Ia for qemu-devel@nongnu.org; Sat, 28 Feb 2009 03:25:32 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LdKVo-0001aX-17 for qemu-devel@nongnu.org; Sat, 28 Feb 2009 03:25:32 -0500 Received: from [199.232.76.173] (port=41445 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LdKVn-0001aT-TM for qemu-devel@nongnu.org; Sat, 28 Feb 2009 03:25:31 -0500 Received: from savannah.gnu.org ([199.232.41.3]:59862 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 1LdKVn-0006ux-ER for qemu-devel@nongnu.org; Sat, 28 Feb 2009 03:25:31 -0500 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1LdKVm-0006Yg-Ky for qemu-devel@nongnu.org; Sat, 28 Feb 2009 08:25:30 +0000 Received: from blueswir1 by cvs.savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1LdKVm-0006YY-3y for qemu-devel@nongnu.org; Sat, 28 Feb 2009 08:25:30 +0000 MIME-Version: 1.0 Errors-To: blueswir1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Blue Swirl Message-Id: Date: Sat, 28 Feb 2009 08:25:30 +0000 Subject: [Qemu-devel] [6654] Fix typo in gen_qemu_ld32s 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: 6654 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6654 Author: blueswir1 Date: 2009-02-28 08:25:29 +0000 (Sat, 28 Feb 2009) Log Message: ----------- Fix typo in gen_qemu_ld32s When the CPU is in little endian mode, it should load values from RAM in byte swapped manner. This check is in all the ld and st functions, but misspelled in gen_qemu_ld32s. This patch fixes the misspelling and makes ppc64 Linux happier. Signed-off-by: Alexander Graf Modified Paths: -------------- trunk/target-ppc/translate.c Modified: trunk/target-ppc/translate.c =================================================================== --- trunk/target-ppc/translate.c 2009-02-27 22:16:47 UTC (rev 6653) +++ trunk/target-ppc/translate.c 2009-02-28 08:25:29 UTC (rev 6654) @@ -2624,7 +2624,7 @@ #if defined(TARGET_PPC64) static always_inline void gen_qemu_ld32s(DisasContext *ctx, TCGv arg1, TCGv arg2) { - if (unlikely(ctx->mem_idx)) { + if (unlikely(ctx->le_mode)) { TCGv_i32 t0; tcg_gen_qemu_ld32u(arg1, arg2, ctx->mem_idx); t0 = tcg_temp_new_i32();