[PATCH v2 0/3] target/i386/tcg: fix REPScalar with memory operand

Paolo Bonzini posted 3 patches 1 month, 3 weeks ago
Failed in applying to current master (apply log)
target/i386/tcg/decode-new.c.inc | 63 ++++++++++++++++++++------------
1 file changed, 39 insertions(+), 24 deletions(-)
[PATCH v2 0/3] target/i386/tcg: fix REPScalar with memory operand
Posted by Paolo Bonzini 1 month, 3 weeks ago
By the time validate_vex() runs, e->s2 is not used anymore and
decode->op[2].ot has already been filled in by decode_size().
Commit b7d4ec4832d ("target/i386/tcg: move VEX validation early",
2026-08-26) did the change from decode->op[2].ot to e->s2, but
did not move validate_vex() early enough.  Fix it, which also
allows to implement the VEX.LIG case that is needed for unary
AVX operations.

Paolo

Supersedes: <20260923124749.273446-1-pbonzini@redhat.com>

Paolo Bonzini (3):
  target/i386/tcg: extract validate_cr0_exceptions()
  target/i386/tcg: move validate_vex() before all operand decoding
  target/i386/tcg: clarify return value of decode_insn

 target/i386/tcg/decode-new.c.inc | 63 ++++++++++++++++++++------------
 1 file changed, 39 insertions(+), 24 deletions(-)

-- 
2.55.0