diff options
author | Richard Henderson <rth@twiddle.net> | 2013-11-05 12:13:44 +1000 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2014-01-07 11:36:32 -0800 |
commit | cc0bce884b9a3cf38b5aa8a711813e7ca1c26cac (patch) | |
tree | 6ee611c2d6d7cbb707a1444c075ba072851af023 /target-i386/translate.c | |
parent | 3250cff8e521ec361d3bda69acffa77b70f9525d (diff) | |
download | qemu-cc0bce884b9a3cf38b5aa8a711813e7ca1c26cac.tar.gz qemu-cc0bce884b9a3cf38b5aa8a711813e7ca1c26cac.tar.bz2 qemu-cc0bce884b9a3cf38b5aa8a711813e7ca1c26cac.zip |
target-i386: Remove gen_movtl_T*_im
Propagate the definitions into all users.
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 | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/target-i386/translate.c b/target-i386/translate.c index ade8606ebf..a0fba1b632 100644 --- a/target-i386/translate.c +++ b/target-i386/translate.c @@ -252,16 +252,6 @@ static void gen_update_cc_op(DisasContext *s) } } -static inline void gen_movtl_T0_im(target_ulong val) -{ - tcg_gen_movi_tl(cpu_T[0], val); -} - -static inline void gen_movtl_T1_im(target_ulong val) -{ - tcg_gen_movi_tl(cpu_T[1], val); -} - static inline void gen_op_andl_T0_ffff(void) { tcg_gen_andi_tl(cpu_T[0], cpu_T[0], 0xffff); @@ -5020,7 +5010,7 @@ static target_ulong disas_insn(CPUX86State *env, DisasContext *s, if (s->dflag == 0) gen_op_andl_T0_ffff(); next_eip = s->pc - s->cs_base; - gen_movtl_T1_im(next_eip); + tcg_gen_movi_tl(cpu_T[1], next_eip); gen_push_T1(s); gen_op_jmp_T0(); gen_eob(s); @@ -5663,7 +5653,7 @@ static target_ulong disas_insn(CPUX86State *env, DisasContext *s, tmp = cpu_ldq_code(env, s->pc); s->pc += 8; reg = (b & 7) | REX_B(s); - gen_movtl_T0_im(tmp); + tcg_gen_movi_tl(cpu_T[0], tmp); gen_op_mov_reg_T0(MO_64, reg); } else #endif @@ -6637,7 +6627,7 @@ static target_ulong disas_insn(CPUX86State *env, DisasContext *s, tval &= 0xffff; else if(!CODE64(s)) tval &= 0xffffffff; - gen_movtl_T0_im(next_eip); + tcg_gen_movi_tl(cpu_T[0], next_eip); gen_push_T0(s); gen_jmp(s, tval); } |