diff options
author | Richard Henderson | 2013-11-07 00:38:07 +0100 |
---|---|---|
committer | Richard Henderson | 2014-01-07 21:39:35 +0100 |
commit | 7826163492b306d99680f9fd5e46720404d902f0 (patch) | |
tree | 86cfeead6c3454f64054d25e96f481996e494be3 /target-i386 | |
parent | target-i386: Rename gen_op_jmp_T0 to gen_op_jmp_v (diff) | |
download | qemu-7826163492b306d99680f9fd5e46720404d902f0.tar.gz qemu-7826163492b306d99680f9fd5e46720404d902f0.tar.xz qemu-7826163492b306d99680f9fd5e46720404d902f0.zip |
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')
-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; |