target/arm: Split arm_cpu_data_is_big_endian
commit8061a64910a3df76e3ef6905dfcc07d9071879ab
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 23 Oct 2019 15:00:37 +0000 (23 11:00 -0400)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 24 Oct 2019 16:16:27 +0000 (24 17:16 +0100)
tree3042d2f9d67c2548f6df8a06ef363f00e7a1c268
parent43eccfb6edcf39ed6a304673b87f004a495d068f
target/arm: Split arm_cpu_data_is_big_endian

Set TBFLAG_ANY.BE_DATA in rebuild_hflags_common_32 and
rebuild_hflags_a64 instead of rebuild_hflags_common, where we do
not need to re-test is_a64() nor re-compute the various inputs.

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