target/arm: Add arm_rebuild_hflags
commit3d74e2e9ffc9fda4da2c29ec8975e2115aaaa603
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 23 Oct 2019 15:00:45 +0000 (23 11:00 -0400)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 24 Oct 2019 16:16:28 +0000 (24 17:16 +0100)
treeca31005651275bacad310fb5ded983da32e21c34
parent0a54d68e212a17ae347f40488acef69e63b7bbb4
target/arm: Add arm_rebuild_hflags

This function assumes nothing about the current state of the cpu,
and writes the computed value to env->hflags.

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