]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm: Split out rebuild_hflags_a64
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 23 Oct 2019 15:00:35 +0000 (11:00 -0400)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 24 Oct 2019 16:16:27 +0000 (17:16 +0100)
commitd4d7503ac6705770a64f0fbe89afca800fb9da4a
tree4a7b68a9a3c0e560345edc641420bdb1366f284e
parentfdd1b228c28d527e0410e36aa9ffee5eb4d50c04
target/arm: Split out rebuild_hflags_a64

Create a function to compute the values of the TBFLAG_A64 bits
that will be cached.  For now, the env->hflags variable is not
used, and the results are fed back to cpu_get_tb_cpu_state.

Note that not all BTI related flags are cached, so we have to
test the BTI feature twice -- once for those bits moved out to
rebuild_hflags_a64 and once for those bits that remain in
cpu_get_tb_cpu_state.

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