target/arm: Reduce tests vs M-profile in cpu_get_tb_cpu_state
commit9550d1bd88792b5ce9e68699a33cca6ec8babb4b
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 23 Oct 2019 15:00:39 +0000 (23 11:00 -0400)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 24 Oct 2019 16:16:27 +0000 (24 17:16 +0100)
tree5605673e3a3e0663f8a7739c7803b03e9c19a201
parent6e33ced563746530a4a7d8845bf9582ce621ec99
target/arm: Reduce tests vs M-profile in cpu_get_tb_cpu_state

Hoist the computation of some TBFLAG_A32 bits that only apply to
M-profile under a single test for ARM_FEATURE_M.

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