On 6/4/24 02:18, Paolo Bonzini wrote:
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_hlt().

Signed-off-by: Paolo Bonzini<pbonz...@redhat.com>
---
  target/i386/helper.h                 |  2 +-
  target/i386/tcg/sysemu/misc_helper.c | 13 ++-----------
  target/i386/tcg/decode-new.c.inc     |  4 ++--
  target/i386/tcg/emit.c.inc           |  4 ++--
  4 files changed, 7 insertions(+), 16 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to