From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KtLSd-0002Qq-2z for qemu-devel@nongnu.org; Fri, 24 Oct 2008 08:08:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KtLSc-0002QP-D3 for qemu-devel@nongnu.org; Fri, 24 Oct 2008 08:08:10 -0400 Received: from [199.232.76.173] (port=55896 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtLSc-0002QM-9D for qemu-devel@nongnu.org; Fri, 24 Oct 2008 08:08:10 -0400 Received: from savannah.gnu.org ([199.232.41.3]:33153 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 1KtLNu-0008Q5-Oo for qemu-devel@nongnu.org; Fri, 24 Oct 2008 08:03:18 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1KtLNu-00084v-13 for qemu-devel@nongnu.org; Fri, 24 Oct 2008 12:03:18 +0000 Received: from pbrook by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1KtLNt-00084p-Jj for qemu-devel@nongnu.org; Fri, 24 Oct 2008 12:03:17 +0000 MIME-Version: 1.0 Errors-To: pbrook Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Paul Brook Message-Id: Date: Fri, 24 Oct 2008 12:03:17 +0000 Subject: [Qemu-devel] [5521] Fix typos in PPC TCG conversion. 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: 5521 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5521 Author: pbrook Date: 2008-10-24 12:03:16 +0000 (Fri, 24 Oct 2008) Log Message: ----------- Fix typos in PPC TCG conversion. Signed-off-by: Paul Brook Modified Paths: -------------- trunk/target-ppc/translate.c Modified: trunk/target-ppc/translate.c =================================================================== --- trunk/target-ppc/translate.c 2008-10-24 09:18:39 UTC (rev 5520) +++ trunk/target-ppc/translate.c 2008-10-24 12:03:16 UTC (rev 5521) @@ -1315,7 +1315,7 @@ { tcg_gen_helper_1_1(helper_cntlzw, cpu_gpr[rA(ctx->opcode)], cpu_gpr[rS(ctx->opcode)]); if (unlikely(Rc(ctx->opcode) != 0)) - gen_set_Rc0(ctx, cpu_gpr[rS(ctx->opcode)]); + gen_set_Rc0(ctx, cpu_gpr[rA(ctx->opcode)]); } /* eqv & eqv. */ GEN_LOGICAL2(eqv, tcg_gen_eqv_tl, 0x08, PPC_INTEGER); @@ -3450,7 +3450,7 @@ else if (sh < 0) \ tcg_gen_shli_i32(temp1, cpu_crf[crbA(ctx->opcode) >> 2], -sh); \ else \ - tcg_gen_mov_i32(temp1, cpu_crf[crbB(ctx->opcode) >> 2]); \ + tcg_gen_mov_i32(temp1, cpu_crf[crbA(ctx->opcode) >> 2]); \ temp2 = tcg_temp_new(TCG_TYPE_I32); \ sh = (crbD(ctx->opcode) & 0x03) - (crbB(ctx->opcode) & 0x03); \ if (sh > 0) \