diff options
| author | Emilio G. Cota | 2017-07-11 20:29:37 +0200 |
|---|---|---|
| committer | Richard Henderson | 2017-10-24 22:53:41 +0200 |
| commit | 4e2ca83e71b51577b06b1468e836556912bd5b6e (patch) | |
| tree | b9fce2b5f36d6f171f8c80e932e25f9a25f1cd3e /exec.c | |
| parent | tcg: Use offsets not indices for TCGv_* (diff) | |
| download | qemu-4e2ca83e71b51577b06b1468e836556912bd5b6e.tar.gz qemu-4e2ca83e71b51577b06b1468e836556912bd5b6e.tar.xz qemu-4e2ca83e71b51577b06b1468e836556912bd5b6e.zip | |
tcg: define CF_PARALLEL and use it for TB hashing along with CF_COUNT_MASK
This will enable us to decouple code translation from the value
of parallel_cpus at any given time. It will also help us minimize
TB flushes when generating code via EXCP_ATOMIC.
Note that the declaration of parallel_cpus is brought to exec-all.h
to be able to define there the "curr_cflags" inline.
Signed-off-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'exec.c')
| -rw-r--r-- | exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2476,7 +2476,7 @@ static void check_watchpoint(int offset, int len, MemTxAttrs attrs, int flags) cpu_loop_exit(cpu); } else { cpu_get_tb_cpu_state(env, &pc, &cs_base, &cpu_flags); - tb_gen_code(cpu, pc, cs_base, cpu_flags, 1); + tb_gen_code(cpu, pc, cs_base, cpu_flags, 1 | curr_cflags()); cpu_loop_exit_noexc(cpu); } } |
