[5492] target-ppc: fix a TCG local variable creation
Revision: 5492
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5492 Author: aurel32 Date: 2008-10-15 17:00:29 +0000 (Wed, 15 Oct 2008)
Log Message:
-----------
target-ppc: fix a TCG local variable creation
Signed-off-by Aurelien Jarno <[email protected]>
Modified Paths:
--------------
trunk/target-ppc/translate.c
Modified: trunk/target-ppc/translate.c
===================================================================
target-ppc/translate.c +1 -1
@@ -5293,7 +5293,7 @@tcg_gen_mov_i64 (cpu_gpr[reg], t);#else tcg_gen_trunc_i64_i32 (cpu_gpr[reg], t); -TCGv tmp =tcg_temp_local_new (TCG_TYPE_I64 ); +TCGv tmp =tcg_temp_new (TCG_TYPE_I64 );tcg_gen_shri_i64 (tmp, t,32 );tcg_gen_trunc_i64_i32 (cpu_gprh[reg], tmp);tcg_temp_free (tmp);