target/arm: Add HELPER(rebuild_hflags_{a32, a64, m32})
commit14f3c58826dff69e7244ec288b13b9dbbb1d16d3
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 23 Oct 2019 15:00:48 +0000 (23 11:00 -0400)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 24 Oct 2019 16:16:28 +0000 (24 17:16 +0100)
treea2306d62d776c908e75caf20c57e7e1d90fd6382
parent9b253fe5544672a48a4c22fb1535a7f581321871
target/arm: Add HELPER(rebuild_hflags_{a32, a64, m32})

This functions are given the mode and el 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-16-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper.c
target/arm/helper.h