target/arm: Simplify set of PSTATE_SS in cpu_get_tb_cpu_state
commit60e12c3776a03a0535fcd4f4ea3eba8f60c0ab6e
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 23 Oct 2019 15:00:43 +0000 (23 11:00 -0400)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 24 Oct 2019 16:16:27 +0000 (24 17:16 +0100)
treeff354bbd998c3a87466983b1852dcc17cf498bf9
parentbbad7c62d461a013100cc6403c0d21c3cca29fbe
target/arm: Simplify set of PSTATE_SS in cpu_get_tb_cpu_state

Hoist the variable load for PSTATE into the existing test vs is_a64.

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