aboutsummaryrefslogtreecommitdiff
path: root/target/arm
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2023-06-19 11:20:19 +0100
committerPeter Maydell <peter.maydell@linaro.org>2023-06-19 11:20:19 +0100
commit99bb43c0ff7c72ef7fa5035ff8e6151b1c08ce68 (patch)
tree04e55584a60155ec8df01257c8bb5745bdfccb9b /target/arm
parent7e2788471f9e079fff696a694721a7d41a451839 (diff)
downloadqemu-99bb43c0ff7c72ef7fa5035ff8e6151b1c08ce68.zip
qemu-99bb43c0ff7c72ef7fa5035ff8e6151b1c08ce68.tar.gz
qemu-99bb43c0ff7c72ef7fa5035ff8e6151b1c08ce68.tar.bz2
target/arm: Pass memop to gen_mte_check1_mmuidx() in reg_imm9 decode
In disas_ldst_reg_imm9() we missed one place where a call to a gen_mte_check* function should now be passed the memop we have created rather than just being passed the size. Fix this. Fixes: 0a9091424d ("target/arm: Pass memop to gen_mte_check1*") Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'target/arm')
-rw-r--r--target/arm/tcg/translate-a64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/arm/tcg/translate-a64.c b/target/arm/tcg/translate-a64.c
index 4ec857b..d271449 100644
--- a/target/arm/tcg/translate-a64.c
+++ b/target/arm/tcg/translate-a64.c
@@ -3226,7 +3226,7 @@ static void disas_ldst_reg_imm9(DisasContext *s, uint32_t insn,
clean_addr = gen_mte_check1_mmuidx(s, dirty_addr, is_store,
writeback || rn != 31,
- size, is_unpriv, memidx);
+ memop, is_unpriv, memidx);
if (is_vector) {
if (is_store) {