summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSergey Fedorov2016-04-25 17:17:30 +0200
committerRichard Henderson2016-05-13 02:06:42 +0200
commita0522c7a55cc8ac76d82884cf8e52f76daa664cc (patch)
treedd7ea25b77fb21a5d3b80e7dde3e09fb59226718 /include
parenttcg: Rework tb_invalidated_flag (diff)
downloadqemu-a0522c7a55cc8ac76d82884cf8e52f76daa664cc.tar.gz
qemu-a0522c7a55cc8ac76d82884cf8e52f76daa664cc.tar.xz
qemu-a0522c7a55cc8ac76d82884cf8e52f76daa664cc.zip
cpu-exec: Move TB chaining into tb_find_fast()
Move tb_add_jump() call and surrounding code from cpu_exec() into tb_find_fast(). That simplifies cpu_exec() a little by hiding the direct chaining optimization details into tb_find_fast(). It also allows to move tb_lock()/tb_unlock() pair into tb_find_fast(), putting it closer to tb_find_slow() which also manipulates the lock. Suggested-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Sergey Fedorov <serge.fdrv@gmail.com> Signed-off-by: Sergey Fedorov <sergey.fedorov@linaro.org> Signed-off-by: Richard Henderson <rth@twiddle.net> [rth: Fixed rebase typo in nochain test.]
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions