[6044] target-ppc: fix TCGv type in fcmpu/fcmpo
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 <[email protected]>
Modified Paths:
--------------
trunk/target-ppc/translate.c
Modified: trunk/target-ppc/translate.c
===================================================================
target-ppc/translate.c +4 -4
@@ -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 (); }