aboutsummaryrefslogtreecommitdiffstats
path: root/exec-all.h
diff options
context:
space:
mode:
Diffstat (limited to 'exec-all.h')
-rw-r--r--exec-all.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/exec-all.h b/exec-all.h
index c686554..f5d416c 100644
--- a/exec-all.h
+++ b/exec-all.h
@@ -172,6 +172,14 @@ struct TranslationBlock {
#endif // CONFIG_MEMCHECK
uint32_t icount;
+
+ /* ITSTATE at the beginning of the translated block.
+ * This field is set to CPU's condexec_bits value when this TB is first
+ * translating. This field is then used to properly calculate ITSTATE when
+ * this TB gets "retranslated" because of an exception, or other
+ * conditions that cause gen_intermediate_code_pc to be called for this TB.
+ */
+ uint8_t itstate;
};
static inline unsigned int tb_jmp_cache_hash_page(target_ulong pc)