From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LCH0g-0004UD-TV for qemu-devel@nongnu.org; Mon, 15 Dec 2008 12:13:35 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LCH0f-0004TO-LX for qemu-devel@nongnu.org; Mon, 15 Dec 2008 12:13:34 -0500 Received: from [199.232.76.173] (port=38757 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LCH0f-0004T8-2Y for qemu-devel@nongnu.org; Mon, 15 Dec 2008 12:13:33 -0500 Received: from savannah.gnu.org ([199.232.41.3]:48393 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 1LCH0e-0004aY-Qg for qemu-devel@nongnu.org; Mon, 15 Dec 2008 12:13:32 -0500 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1LCH0d-0002nr-RR for qemu-devel@nongnu.org; Mon, 15 Dec 2008 17:13:31 +0000 Received: from aurel32 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1LCH0d-0002nn-I1 for qemu-devel@nongnu.org; Mon, 15 Dec 2008 17:13:31 +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: Mon, 15 Dec 2008 17:13:31 +0000 Subject: [Qemu-devel] [6044] target-ppc: fix TCGv type in fcmpu/fcmpo 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: 6044 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6044 Author: aurel32 Date: 2008-12-15 17:13:31 +0000 (Mon, 15 Dec 2008) Log Message: ----------- target-ppc: fix TCGv type in fcmpu/fcmpo Signed-off-by: Aurelien Jarno Modified Paths: -------------- trunk/target-ppc/translate.c Modified: trunk/target-ppc/translate.c =================================================================== --- trunk/target-ppc/translate.c 2008-12-15 17:13:19 UTC (rev 6043) +++ trunk/target-ppc/translate.c 2008-12-15 17:13:31 UTC (rev 6044) @@ -2249,7 +2249,7 @@ /* fcmpo */ GEN_HANDLER(fcmpo, 0x3F, 0x00, 0x01, 0x00600001, PPC_FLOAT) { - TCGv crf; + TCGv_i32 crf; if (unlikely(!ctx->fpu_enabled)) { gen_exception(ctx, POWERPC_EXCP_FPU); return; @@ -2257,14 +2257,14 @@ gen_reset_fpstatus(); crf = tcg_const_i32(crfD(ctx->opcode)); gen_helper_fcmpo(cpu_fpr[rA(ctx->opcode)], cpu_fpr[rB(ctx->opcode)], crf); - tcg_temp_free(crf); + tcg_temp_free_i32(crf); gen_helper_float_check_status(); } /* fcmpu */ GEN_HANDLER(fcmpu, 0x3F, 0x00, 0x00, 0x00600001, PPC_FLOAT) { - TCGv crf; + TCGv_i32 crf; if (unlikely(!ctx->fpu_enabled)) { gen_exception(ctx, POWERPC_EXCP_FPU); return; @@ -2272,7 +2272,7 @@ gen_reset_fpstatus(); crf = tcg_const_i32(crfD(ctx->opcode)); gen_helper_fcmpu(cpu_fpr[rA(ctx->opcode)], cpu_fpr[rB(ctx->opcode)], crf); - tcg_temp_free(crf); + tcg_temp_free_i32(crf); gen_helper_float_check_status(); }