qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v4 11/43] tcg: define CF_PARALLEL and use it for


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH v4 11/43] tcg: define CF_PARALLEL and use it for TB hashing along with CF_COUNT_MASK
Date: Fri, 21 Jul 2017 11:28:41 -1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

On 07/20/2017 07:59 PM, Emilio G. Cota wrote:
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<address@hidden>
---
  include/exec/exec-all.h   | 20 +++++++++++++++++++-
  include/exec/tb-hash-xx.h |  9 ++++++---
  include/exec/tb-hash.h    |  4 ++--
  include/exec/tb-lookup.h  |  6 +++---
  tcg/tcg.h                 |  1 -
  accel/tcg/cpu-exec.c      | 45 +++++++++++++++++++++++----------------------
  accel/tcg/translate-all.c | 13 +++++++++----
  exec.c                    |  2 +-
  tcg/tcg-runtime.c         |  2 +-
  tests/qht-bench.c         |  2 +-
  10 files changed, 65 insertions(+), 39 deletions(-)

Reviewed-by: Richard Henderson <address@hidden>


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]