On 8/24/22 10:32, Paolo Bonzini wrote:
+static void gen_LODS(DisasContext *s, CPUX86State *env, X86DecodedInsn *decode) +{ + MemOp ot = decode->op[0].ot; + if (s->prefix & (PREFIX_REPZ | PREFIX_REPNZ)) { + gen_repz_lods(s, ot, s->pc_start - s->cs_base, s->pc - s->cs_base);
Note that I've got a rather large patch set that cleans up this pc frobbery. r~