diff options
author | Richard Henderson <rth@twiddle.net> | 2013-11-07 09:38:07 +1000 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2014-01-07 12:39:35 -0800 |
commit | 7826163492b306d99680f9fd5e46720404d902f0 (patch) | |
tree | 86cfeead6c3454f64054d25e96f481996e494be3 /target-i386/translate.c | |
parent | 74bdfbda5537452c59db64fab42179f01d0436b9 (diff) |
target-i386: Tidy ljmp
Remove an unnecessary move opcode.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-i386/translate.c')
-rw-r--r-- | target-i386/translate.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/target-i386/translate.c b/target-i386/translate.c index ed3e6ce543..b0f227915a 100644 --- a/target-i386/translate.c +++ b/target-i386/translate.c @@ -4961,8 +4961,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); - tcg_gen_mov_tl(cpu_T[0], cpu_T[1]); - gen_op_jmp_v(cpu_T[0]); + gen_op_jmp_v(cpu_T[1]); } gen_eob(s); break; |