accel/tcg: actually cache our partial icount TB
commitbc662a33514ac862efefc73d6caa4e71581ccdae
authorAlex Bennée <alex.bennee@linaro.org>
Sat, 13 Feb 2021 13:03:18 +0000 (13 13:03 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Thu, 18 Feb 2021 08:19:23 +0000 (18 08:19 +0000)
treedd25f6267aafcaecb42bbbe0ac945e60afa13a1e
parent4c134d07b9e584d2713d7b5d0fb5fdb752ad120c
accel/tcg: actually cache our partial icount TB

When we exit a block under icount with instructions left to execute we
might need a shorter than normal block to take us to the next
deterministic event. Instead of creating a throwaway block on demand
we use the existing compile flags mechanism to ensure we fetch (or
compile and fetch) a block with exactly the number of instructions we
need.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210213130325.14781-17-alex.bennee@linaro.org>
accel/tcg/cpu-exec.c