From: Aurelien Jarno Date: Sat, 26 Sep 2009 22:56:22 +0000 (+0200) Subject: target-i386: kill a tmp register X-Git-Tag: v0.12.0-rc0~1015 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=bedda79c1eecb62316dc7698a886262fd496864e;p=qemu.git target-i386: kill a tmp register Signed-off-by: Aurelien Jarno --- diff --git a/target-i386/translate.c b/target-i386/translate.c index 74b4f66b6..3eae9bc64 100644 --- a/target-i386/translate.c +++ b/target-i386/translate.c @@ -69,7 +69,7 @@ static TCGv cpu_tmp0, cpu_tmp4; static TCGv_ptr cpu_ptr0, cpu_ptr1; static TCGv_i32 cpu_tmp2_i32, cpu_tmp3_i32; static TCGv_i64 cpu_tmp1_i64; -static TCGv cpu_tmp5, cpu_tmp6; +static TCGv cpu_tmp5; #include "gen-icount.h" @@ -1837,8 +1837,8 @@ static void gen_shiftd_rm_T1_T3(DisasContext *s, int ot, int op1, tcg_gen_shl_tl(cpu_tmp4, t0, cpu_tmp5); tcg_gen_subfi_tl(cpu_tmp0, 32, cpu_tmp5); - tcg_gen_shr_tl(cpu_tmp6, t1, cpu_tmp0); - tcg_gen_or_tl(cpu_tmp4, cpu_tmp4, cpu_tmp6); + tcg_gen_shr_tl(cpu_tmp5, t1, cpu_tmp0); + tcg_gen_or_tl(cpu_tmp4, cpu_tmp4, cpu_tmp5); tcg_gen_shl_tl(t0, t0, t2); tcg_gen_subfi_tl(cpu_tmp5, 32, t2); @@ -7671,7 +7671,6 @@ static inline void gen_intermediate_code_internal(CPUState *env, cpu_tmp3_i32 = tcg_temp_new_i32(); cpu_tmp4 = tcg_temp_new(); cpu_tmp5 = tcg_temp_new(); - cpu_tmp6 = tcg_temp_new(); cpu_ptr0 = tcg_temp_new_ptr(); cpu_ptr1 = tcg_temp_new_ptr();