On Sat, Jun 8, 2024 at 10:16 PM Richard Henderson
<[email protected]> wrote:
>
> On 6/8/24 01:41, Paolo Bonzini wrote:
> > It is already checked before getting there.
> >
> > Signed-off-by: Paolo Bonzini<[email protected]>
> > ---
> > target/i386/tcg/translate.c | 26 ++++++++------------------
> > 1 file changed, 8 insertions(+), 18 deletions(-)
>
> Reviewed-by: Richard Henderson <[email protected]>
... except cmpxchg8b/cmpxchg16b do have to accept LOCK. Fortunately
it's trivial to convert them, with just an ugly temporary
if (decode.e.gen == gen_multi0F) {
accept_lock = true;
}
that only lasts one commit. I'll resend this part of the series later
(and BTx as well).
Paolo