On 1/9/23 14:42, Fabiano Rosas wrote:
+inline void assert_hflags_rebuild_correctly(CPUARMState *env)
+{
+#ifdef CONFIG_DEBUG_TCG
+CPUARMTBFlags c = env->hflags;
+CPUARMTBFlags r = rebuild_hflags_internal(env);
+
+if (unlikely(c.flags != r.flags || c.flags2 != r.flags2)) {
+fpr
The hflags are used only for TCG code, so introduce a new file
hflags.c to keep that code.
Signed-off-by: Fabiano Rosas
---
target/arm/helper.c| 361 +---
target/arm/internals.h | 2 +
target/arm/tcg-stubs.c | 5 +
target/arm/tcg/hflags.c|