aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2013-11-05 12:29:14 +1000
committerRichard Henderson <rth@twiddle.net>2014-01-07 11:36:33 -0800
commit2b98a7d75308a968472a537b215408faf0b9c628 (patch)
treeaa44a5ebd274a4f2f7ae0249380228538e39e789
parentf0706f0c939ea751e8bb164f58594e254749b7fd (diff)
downloadqemu-2b98a7d75308a968472a537b215408faf0b9c628.zip
qemu-2b98a7d75308a968472a537b215408faf0b9c628.tar.gz
qemu-2b98a7d75308a968472a537b215408faf0b9c628.tar.bz2
target-i386: Remove gen_op_movl_T0_T1
Replace it with its definition. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <rth@twiddle.net>
-rw-r--r--target-i386/translate.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/target-i386/translate.c b/target-i386/translate.c
index 6051c2c..4da5b8e 100644
--- a/target-i386/translate.c
+++ b/target-i386/translate.c
@@ -252,11 +252,6 @@ static void gen_update_cc_op(DisasContext *s)
}
}
-static inline void gen_op_movl_T0_T1(void)
-{
- tcg_gen_mov_tl(cpu_T[0], cpu_T[1]);
-}
-
static inline void gen_op_andl_A0_ffff(void)
{
tcg_gen_andi_tl(cpu_A0, cpu_A0, 0xffff);
@@ -5046,7 +5041,7 @@ static target_ulong disas_insn(CPUX86State *env, DisasContext *s,
tcg_const_i32(s->pc - pc_start));
} else {
gen_op_movl_seg_T0_vm(R_CS);
- gen_op_movl_T0_T1();
+ tcg_gen_mov_tl(cpu_T[0], cpu_T[1]);
gen_op_jmp_T0();
}
gen_eob(s);