target/arm: Split out rebuild_hflags_common
commitfdd1b228c28d527e0410e36aa9ffee5eb4d50c04
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 23 Oct 2019 15:00:34 +0000 (23 11:00 -0400)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 24 Oct 2019 16:16:27 +0000 (24 17:16 +0100)
tree7ca88775760602b8c616fb174070ef5f4d5924cb
parentccc2c41890afd3a28183ea93bfab688890eb3df6
target/arm: Split out rebuild_hflags_common

Create a function to compute the values of the TBFLAG_ANY bits
that will be cached.  For now, the env->hflags variable is not
used, and the results are fed back to cpu_get_tb_cpu_state.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20191023150057.25731-2-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpu.h
target/arm/helper.c