Commit f5fc9e119d for qemu.org
commit f5fc9e119d98c15b32e5d52d88d73472235db891
Author: Alex Bennée <alex.bennee@linaro.org>
Date: Wed Apr 22 13:52:37 2026 +0100
target/arm: use syndrome helpers in merge_syn_data_abort
One more step to removing the old defines.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20260422125250.1303100-21-alex.bennee@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
diff --git a/target/arm/tcg/tlb_helper.c b/target/arm/tcg/tlb_helper.c
index 565954269f..c74d8e785a 100644
--- a/target/arm/tcg/tlb_helper.c
+++ b/target/arm/tcg/tlb_helper.c
@@ -56,7 +56,7 @@ static inline uint64_t merge_syn_data_abort(uint32_t template_syn,
*/
assert(!fi->stage2);
syn = syn_data_abort_vncr(fi->ea, is_write, fsc);
- } else if (!(template_syn & ARM_EL_ISV) || target_el != 2
+ } else if (!FIELD_EX32(template_syn, DABORT_ISS, ISV) || target_el != 2
|| fi->s1ptw || !fi->stage2) {
syn = syn_data_abort_no_iss(same_el, 0,
fi->ea, 0, fi->s1ptw, is_write, fsc);