]> 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)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 2 Oct 2023 23:01:36 +0000 (02:01 +0300)
commit6c2e2e4f77f7c3ac8f20f5a37d5e02eaf5e99246
treeb4198972df6ac21feb524a59b031a94adf33b48b
parenta98097d3a96bb24e4a1ffb02a2033ecd394da757
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>
(cherry picked from commit a2f99d484c54adda13e62bf75ba512618a3fe470)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
accel/tcg/translator.c