Revision a8ede8ba target-i386/translate.c

b/target-i386/translate.c
2119 2119
    if (s->cc_op != CC_OP_DYNAMIC)
2120 2120
        gen_op_set_cc_op(s->cc_op);
2121 2121
    gen_jmp_im(cur_eip);
2122
    gen_op_raise_interrupt(intno, next_eip);
2122
    gen_op_raise_interrupt(intno, (int)(next_eip - cur_eip));
2123 2123
    s->is_jmp = 3;
2124 2124
}
2125 2125

  
......
4452 4452
            goto illegal_op;
4453 4453
        if (s->cc_op != CC_OP_DYNAMIC)
4454 4454
            gen_op_set_cc_op(s->cc_op);
4455
        gen_op_into(s->pc - s->cs_base);
4455
        gen_jmp_im(pc_start - s->cs_base);
4456
        gen_op_into(s->pc - pc_start);
4456 4457
        break;
4457 4458
    case 0xf1: /* icebp (undocumented, exits to external debugger) */
4458 4459
#if 0
......
4826 4827
            /* nothing to do */
4827 4828
        }
4828 4829
        break;
4829
    case 0x1ae: /* sfence */
4830
    case 0x1ae:
4830 4831
        modrm = ldub_code(s->pc++);
4831 4832
        mod = (modrm >> 6) & 3;
4832 4833
        op = (modrm >> 3) & 7;

Also available in: Unified diff