xemu/accel/tcg
Pavel Dovgalyuk 835cbd8d44 icount: improve exec nocache usage
cpu-exec tries to execute TB without caching when current
icount budget is over. But sometimes refilled budget is big
enough to try executing cached blocks.
This patch checks that instruction budget is big enough
for next block execution instead of just running cpu_exec_nocache.
It halves the number of calls of cpu_exec_nocache function
during tested OS boot scenario.

Signed-off-by: Pavel Dovgalyuk <pavel.dovgalyuk@ispras.ru>
Message-Id: <160741865825.348476.7169239332367828943.stgit@pasha-ThinkPad-X280>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-12-15 12:52:04 -05:00
..
atomic_common.c.inc meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
atomic_template.h qemu/atomic.h: rename atomic_ to qatomic_ 2020-09-23 16:07:44 +01:00
cpu-exec-common.c qemu-common: Move tcg_enabled() etc. to sysemu/tcg.h 2019-06-11 20:22:09 +02:00
cpu-exec.c icount: improve exec nocache usage 2020-12-15 12:52:04 -05:00
cputlb.c accel/tcg: Add tlb_flush_page_bits_by_mmuidx* 2020-10-20 16:12:00 +01:00
meson.build accel/tcg: split CpusAccel into three TCG variants 2020-12-10 17:44:10 -06:00
plugin-gen.c plugin-gen: add module for TCG-related code 2019-10-28 15:12:38 +00:00
plugin-helpers.h plugin-gen: add module for TCG-related code 2019-10-28 15:12:38 +00:00
tcg-all.c accel/tcg: split tcg_start_vcpu_thread 2020-12-10 17:44:10 -06:00
tcg-cpus-icount.c accel/tcg: rename tcg-cpus functions to match module name 2020-12-10 17:44:10 -06:00
tcg-cpus-icount.h accel/tcg: rename tcg-cpus functions to match module name 2020-12-10 17:44:10 -06:00
tcg-cpus-mttcg.c accel/tcg: rename tcg-cpus functions to match module name 2020-12-10 17:44:10 -06:00
tcg-cpus-rr.c accel/tcg: rename tcg-cpus functions to match module name 2020-12-10 17:44:10 -06:00
tcg-cpus-rr.h accel/tcg: rename tcg-cpus functions to match module name 2020-12-10 17:44:10 -06:00
tcg-cpus.c accel/tcg: rename tcg-cpus functions to match module name 2020-12-10 17:44:10 -06:00
tcg-cpus.h accel/tcg: rename tcg-cpus functions to match module name 2020-12-10 17:44:10 -06:00
tcg-runtime-gvec.c tcg: Implement gvec support for rotate by vector 2020-06-02 08:42:37 -07:00
tcg-runtime.c tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
tcg-runtime.h tcg: Implement gvec support for rotate by vector 2020-06-02 08:42:37 -07:00
trace-events accel/tcg: don't disable exec_tb trace events 2020-05-15 15:25:16 +01:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
translate-all.c accel/tcg: Remove deprecated '-tb-size' option 2020-12-15 12:52:01 -05:00
translate-all.h cputlb: Pass retaddr to tb_check_watchpoint 2019-09-25 10:56:28 -07:00
translator.c gdbstub: add reverse step support in replay mode 2020-10-06 08:34:49 +02:00
user-exec-stub.c spapr: Unrealize vCPUs with qdev_unrealize() 2020-10-28 01:08:53 +11:00
user-exec.c accel/tcg: Fix computing of is_write for MIPS 2020-10-08 05:57:32 -05:00