OSDN Git Service

accel/tcg: cache single instruction TB on pending replay exception
authorAlex Bennée <alex.bennee@linaro.org>
Sat, 13 Feb 2021 13:03:19 +0000 (13:03 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Thu, 18 Feb 2021 08:19:23 +0000 (08:19 +0000)
commita11bbb6a23a1bb5a4bf172f5b2739785e8f06c79
treebdf49eb065f5bcc6379e5e7bda1b83f6fd245edb
parentbc662a33514ac862efefc73d6caa4e71581ccdae
accel/tcg: cache single instruction TB on pending replay exception

Again there is no reason to jump through the nocache hoops to execute
a single instruction block. We do have to add an additional wrinkle to
the cpu_handle_interrupt case to ensure we let through a TB where we
have specifically disabled icount for the block.

As the last user of cpu_exec_nocache we can now remove the function.
Further clean-up will follow in subsequent patches.

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