tcg: Add CF_LAST_IO + CF_USE_ICOUNT to CF_HASH_MASK

These flags are used by target/*/translate.c,
and affect code generation.

Backports commit 0cf8a44c2f56ba884c2f6db47d27fbb24975daa3 from qemu
This commit is contained in:
Richard Henderson 2019-05-06 00:53:25 -04:00 committed by Lioncash
parent b1b069e8ad
commit 12f9def3a2
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -252,7 +252,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)
struct tb_tc tc;
/* next matching tb for physical address. */