target/i386: cleanup PAUSE helpers
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 29 May 2024 13:12:22 +0000 (15:12 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 8 Jun 2024 08:33:38 +0000 (10:33 +0200)
commit330e6adc1acd2a235a96b502b3dd15ba6e77c228
treedaa19bc768be4afd40950c83a68d06e0091f4451
parent536032566b1fc1f4b66450770dbb30b49e736b52
target/i386: cleanup PAUSE helpers

Use decode.c's support for intercepts, doing the check in TCG-generated
code rather than the helper.  This is cleaner because it allows removing
the eip_addend argument to helper_pause(), even though it adds a bit of
bloat for opcode 0x90's new decoding function.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/helper.h
target/i386/tcg/decode-new.c.inc
target/i386/tcg/emit.c.inc
target/i386/tcg/helper-tcg.h
target/i386/tcg/misc_helper.c
target/i386/tcg/sysemu/misc_helper.c