]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
target/arm: Pass memop to gen_mte_check1_mmuidx() in reg_imm9 decode
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 19 Jun 2023 10:20:19 +0000 (11:20 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 19 Jun 2023 10:20:19 +0000 (11:20 +0100)
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>
target/arm/tcg/translate-a64.c

index 4ec857bcd8d812eb32fbbfc7ecd7eed8c540c084..d271449431ad2fa896863ae1a142fbd564b4f1c5 100644 (file)
@@ -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) {