OSDN Git Service

tcg: Add CF_LAST_IO + CF_USE_ICOUNT to CF_HASH_MASK
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 13 Oct 2017 19:15:06 +0000 (12:15 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 24 Oct 2017 20:53:42 +0000 (13:53 -0700)
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>
include/exec/exec-all.h

index 0fdb72b..a3bd3e7 100644 (file)
@@ -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;