Re: [PATCH 07/22] target/i386: reimplement check for validity of LOCK prefix

2023-12-28 Thread Richard Henderson
On 12/23/23 05:15, Paolo Bonzini wrote: The previous check erroneously allowed CMP to be modified with LOCK. Instead, tag explicitly the instructions that do support LOCK. Signed-off-by: Paolo Bonzini --- target/i386/tcg/decode-new.c.inc | 17 ++--- target/i386/tcg/decode-new.h

[PATCH 07/22] target/i386: reimplement check for validity of LOCK prefix

2023-12-22 Thread Paolo Bonzini
The previous check erroneously allowed CMP to be modified with LOCK. Instead, tag explicitly the instructions that do support LOCK. Signed-off-by: Paolo Bonzini --- target/i386/tcg/decode-new.c.inc | 17 ++--- target/i386/tcg/decode-new.h | 3 +++ target/i386/tcg/emit.c.inc