diff options
author | Alex Bennée | 2021-02-24 17:58:08 +0100 |
---|---|---|
committer | Richard Henderson | 2021-03-06 20:50:50 +0100 |
commit | c0ae396a81e13e5a09846f86a702bc61733a8885 (patch) | |
tree | a1bbd21ab556043602530b72685a093ca9fd2abf /include/exec/tb-lookup.h | |
parent | accel/tcg: rename tb_lookup__cpu_state and hoist state extraction (diff) | |
download | qemu-c0ae396a81e13e5a09846f86a702bc61733a8885.tar.gz qemu-c0ae396a81e13e5a09846f86a702bc61733a8885.tar.xz qemu-c0ae396a81e13e5a09846f86a702bc61733a8885.zip |
accel/tcg: move CF_CLUSTER calculation to curr_cflags
There is nothing special about this compile flag that doesn't mean we
can't just compute it with curr_cflags() which we should be using when
building a new set.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210224165811.11567-3-alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/exec/tb-lookup.h')
-rw-r--r-- | include/exec/tb-lookup.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/exec/tb-lookup.h b/include/exec/tb-lookup.h index c3f5d81c55..1c92fe0521 100644 --- a/include/exec/tb-lookup.h +++ b/include/exec/tb-lookup.h @@ -27,9 +27,6 @@ static inline TranslationBlock *tb_lookup(CPUState *cpu, target_ulong pc, hash = tb_jmp_cache_hash_func(pc); tb = qatomic_rcu_read(&cpu->tb_jmp_cache[hash]); - cf_mask &= ~CF_CLUSTER_MASK; - cf_mask |= cpu->cluster_index << CF_CLUSTER_SHIFT; - if (likely(tb && tb->pc == pc && tb->cs_base == cs_base && |