Skip to content

Commit

Permalink
Merge commit 'a71e0b246a' into manual_bisect
Browse files Browse the repository at this point in the history
  • Loading branch information
aurelf committed May 5, 2024
2 parents f03f679 + a71e0b2 commit 40fdc0d
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions target/i386/tcg/decode-new.c.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1212,6 +1212,8 @@ static bool decode_op(DisasContext *s, CPUX86State *env, X86DecodedInsn *decode,
case X86_TYPE_None: /* Implicit or absent */
case X86_TYPE_A: /* Implicit */
case X86_TYPE_F: /* EFLAGS/RFLAGS */
case X86_TYPE_X: /* string source */
case X86_TYPE_Y: /* string destination */
break;

case X86_TYPE_B: /* VEX.vvvv selects a GPR */
Expand Down Expand Up @@ -1346,24 +1348,6 @@ static bool decode_op(DisasContext *s, CPUX86State *env, X86DecodedInsn *decode,
op->n = insn_get(env, s, op->ot) >> 4;
break;

case X86_TYPE_X: /* string source */
op->n = -1;
decode->mem = (AddressParts) {
.def_seg = R_DS,
.base = R_ESI,
.index = -1,
};
break;

case X86_TYPE_Y: /* string destination */
op->n = -1;
decode->mem = (AddressParts) {
.def_seg = R_ES,
.base = R_EDI,
.index = -1,
};
break;

case X86_TYPE_2op:
*op = decode->op[0];
break;
Expand Down

0 comments on commit 40fdc0d

Please sign in to comment.