summaryrefslogtreecommitdiffstats
path: root/target/arm/translate-a64.c
diff options
context:
space:
mode:
authorRichard Henderson2021-04-19 22:22:36 +0200
committerPeter Maydell2021-04-30 12:16:50 +0200
commit4479ec30c9c4d2399b6e5bf4e77d136cfd27aebd (patch)
treef4c8888291f69d3bbeeb17887498b85ab56dcf28 /target/arm/translate-a64.c
parenttarget/arm: Move TBFLAG_ANY bits to the bottom (diff)
downloadqemu-4479ec30c9c4d2399b6e5bf4e77d136cfd27aebd.tar.gz
qemu-4479ec30c9c4d2399b6e5bf4e77d136cfd27aebd.tar.xz
qemu-4479ec30c9c4d2399b6e5bf4e77d136cfd27aebd.zip
target/arm: Add ALIGN_MEM to TBFLAG_ANY
Use this to signal when memory access alignment is required. This value comes from the CCR register for M-profile, and from the SCTLR register for A-profile. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20210419202257.161730-11-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/translate-a64.c')
-rw-r--r--target/arm/translate-a64.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/arm/translate-a64.c b/target/arm/translate-a64.c
index b32ff56666..92a62b1a75 100644
--- a/target/arm/translate-a64.c
+++ b/target/arm/translate-a64.c
@@ -14697,6 +14697,7 @@ static void aarch64_tr_init_disas_context(DisasContextBase *dcbase,
dc->user = (dc->current_el == 0);
#endif
dc->fp_excp_el = EX_TBFLAG_ANY(tb_flags, FPEXC_EL);
+ dc->align_mem = EX_TBFLAG_ANY(tb_flags, ALIGN_MEM);
dc->sve_excp_el = EX_TBFLAG_A64(tb_flags, SVEEXC_EL);
dc->sve_len = (EX_TBFLAG_A64(tb_flags, ZCR_LEN) + 1) * 16;
dc->pauth_active = EX_TBFLAG_A64(tb_flags, PAUTH_ACTIVE);