]> www.infradead.org Git - users/dwmw2/qemu.git/commit
target/i386: cleanup HLT 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:37 +0000 (10:33 +0200)
commit536032566b1fc1f4b66450770dbb30b49e736b52
tree4acc17d5823d0e0a04d90f0921f6683973ede280
parent73fb7b3c4983e48f3081fca00013a996abf659c0
target/i386: cleanup HLT 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_hlt().

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/sysemu/misc_helper.c