target/i386: avoid calling gen_eob_syscall before tb_stop
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 16 May 2024 16:46:55 +0000 (18:46 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 25 May 2024 11:28:01 +0000 (13:28 +0200)
commitc8494cb8b1fd73a1e6a3a6a022a7e4d7e481bdc1
tree06c190aca671c6bd40a95298eccbb09fd755cd54
parent9594b593315a56ca459b8bc2de1cad5a91597f37
target/i386: avoid calling gen_eob_syscall before tb_stop

syscall and sysret only have one exit, so they do not need to
generate the end-of-translation code inline.  It can be
deferred to tb_stop.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/tcg/translate.c