summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorEmilio G. Cota2017-07-11 20:29:37 +0200
committerRichard Henderson2017-10-24 22:53:41 +0200
commit4e2ca83e71b51577b06b1468e836556912bd5b6e (patch)
treeb9fce2b5f36d6f171f8c80e932e25f9a25f1cd3e /tests
parenttcg: Use offsets not indices for TCGv_* (diff)
downloadqemu-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 'tests')
-rw-r--r--tests/qht-bench.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qht-bench.c b/tests/qht-bench.c
index 11c1cec766..4cabdfd62a 100644
--- a/tests/qht-bench.c
+++ b/tests/qht-bench.c
@@ -103,7 +103,7 @@ static bool is_equal(const void *obj, const void *userp)
static inline uint32_t h(unsigned long v)
{
- return tb_hash_func6(v, 0, 0, 0);
+ return tb_hash_func7(v, 0, 0, 0, 0);
}
/*