Commit 2f6ecc62eef8c591d9266309362989e8518dad7e

Authored by ths
1 parent 0a618140

Workaround qemu guest SIGSEGVs with cmpxchg8b insn, by Juergen Keil.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2732 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 0 deletions
target-i386/translate.c
... ... @@ -3797,6 +3797,7 @@ static target_ulong disas_insn(DisasContext *s, target_ulong pc_start)
3797 3797 mod = (modrm >> 6) & 3;
3798 3798 if (mod == 3)
3799 3799 goto illegal_op;
  3800 + gen_jmp_im(pc_start - s->cs_base);
3800 3801 if (s->cc_op != CC_OP_DYNAMIC)
3801 3802 gen_op_set_cc_op(s->cc_op);
3802 3803 gen_lea_modrm(s, modrm, &reg_addr, &offset_addr);
... ...