From 5a1388b6df19d01894e409d00f021334e843dffc Mon Sep 17 00:00:00 2001 From: bellard Date: Sun, 18 Jan 2004 21:41:29 +0000 Subject: [PATCH] xadd fix git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@550 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-i386/translate.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/target-i386/translate.c b/target-i386/translate.c index e45b6a438c..2407735281 100644 --- a/target-i386/translate.c +++ b/target-i386/translate.c @@ -2262,8 +2262,8 @@ static uint8_t *disas_insn(DisasContext *s, uint8_t *pc_start) gen_op_mov_TN_reg[ot][0][reg](); gen_op_mov_TN_reg[ot][1][rm](); gen_op_addl_T0_T1(); - gen_op_mov_reg_T0[ot][rm](); gen_op_mov_reg_T1[ot][reg](); + gen_op_mov_reg_T0[ot][rm](); } else { gen_lea_modrm(s, modrm, ®_addr, &offset_addr); gen_op_mov_TN_reg[ot][0][reg](); @@ -4561,9 +4561,11 @@ static inline int gen_intermediate_code_internal(CPUState *env, fprintf(logfile, "IN: %s\n", lookup_symbol(pc_start)); disas(logfile, pc_start, pc_ptr - pc_start, 0, !dc->code32); fprintf(logfile, "\n"); +#if 0 fprintf(logfile, "OP:\n"); dump_ops(gen_opc_buf, gen_opparam_buf); fprintf(logfile, "\n"); +#endif } #endif