projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74bdfbd
)
target-i386: Tidy ljmp
author
Richard Henderson
<rth@twiddle.net>
Wed, 6 Nov 2013 23:38:07 +0000
(09:38 +1000)
committer
Richard Henderson
<rth@twiddle.net>
Tue, 7 Jan 2014 20:39:35 +0000
(12:39 -0800)
Remove an unnecessary move opcode.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
target-i386/translate.c
patch
|
blob
|
history
diff --git
a/target-i386/translate.c
b/target-i386/translate.c
index
ed3e6ce
..
b0f2279
100644
(file)
--- 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;