mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
target/arm: Merge TBFLAG_AA_TB{0, 1} to TBII
We will shortly want to talk about TBI as it relates to data. Passing around a pair of variables is less convenient than a single variable. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 20190108223129.5570-20-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
ba97be9f4a
commit
476a4692f0
4 changed files with 11 additions and 13 deletions
|
@ -13041,10 +13041,9 @@ void cpu_get_tb_cpu_state(CPUARMState *env, target_ulong *pc,
|
|||
*pc = env->pc;
|
||||
flags = FIELD_DP32(flags, TBFLAG_ANY, AARCH64_STATE, 1);
|
||||
/* Get control bits for tagged addresses */
|
||||
flags = FIELD_DP32(flags, TBFLAG_A64, TBI0,
|
||||
flags = FIELD_DP32(flags, TBFLAG_A64, TBII,
|
||||
(arm_regime_tbi1(env, mmu_idx) << 1) |
|
||||
arm_regime_tbi0(env, mmu_idx));
|
||||
flags = FIELD_DP32(flags, TBFLAG_A64, TBI1,
|
||||
arm_regime_tbi1(env, mmu_idx));
|
||||
|
||||
if (cpu_isar_feature(aa64_sve, cpu)) {
|
||||
int sve_el = sve_exception_el(env, current_el);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue