Skip to content

Commit

Permalink
tcg: Add CF_LAST_IO + CF_USE_ICOUNT to CF_HASH_MASK
Browse files Browse the repository at this point in the history
These flags are used by target/*/translate.c,
and affect code generation.

Reviewed-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
  • Loading branch information
rth7680 committed Oct 24, 2017
1 parent ac03ee5 commit 0cf8a44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/exec/exec-all.h
Expand Up @@ -327,7 +327,8 @@ struct TranslationBlock {
#define CF_INVALID 0x80000 /* TB is stale. Setters must acquire tb_lock */
#define CF_PARALLEL 0x100000 /* Generate code for a parallel context */
/* cflags' mask for hashing/comparison */
#define CF_HASH_MASK (CF_COUNT_MASK | CF_PARALLEL)
#define CF_HASH_MASK \
(CF_COUNT_MASK | CF_LAST_IO | CF_USE_ICOUNT | CF_PARALLEL)

/* Per-vCPU dynamic tracing state used to generate this TB */
uint32_t trace_vcpu_dstate;
Expand Down

0 comments on commit 0cf8a44

Please sign in to comment.