]> git.ipfire.org Git - thirdparty/qemu.git/commit
accel/tcg: Improve setting of can_do_io at start of TB
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 14 Sep 2023 15:26:47 +0000 (08:26 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 28 Sep 2023 17:07:33 +0000 (10:07 -0700)
commita2f99d484c54adda13e62bf75ba512618a3fe470
tree6e80e97f272d2176da678a328a829aa33cc0da2b
parent0ca41ccf1c555f97873b8e02a47390fd6af4b18f
accel/tcg: Improve setting of can_do_io at start of TB

Initialize can_do_io to true if this the TB has CF_LAST_IO
and will consist of a single instruction.  This avoids a
set to 0 followed immediately by a set to 1.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/translator.c