Patchwork [for-1.8,60/61] target-i386: Tidy ljmp

login
register
mail settings
Submitter Richard Henderson
Date Nov. 7, 2013, 1:05 a.m.
Message ID <1383786324-18415-61-git-send-email-rth@twiddle.net>
Download mbox | patch
Permalink /patch/289094/
State New
Headers show

Comments

Richard Henderson - Nov. 7, 2013, 1:05 a.m.
Remove an unnecessary move opcode.

Signed-off-by: Richard Henderson <rth@twiddle.net>
---
 target-i386/translate.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Patch

diff --git a/target-i386/translate.c b/target-i386/translate.c
index af8a27b..60ace71 100644
--- a/target-i386/translate.c
+++ b/target-i386/translate.c
@@ -4805,8 +4805,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;