[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 09/42] target/xtensa: Finish conversion to tcg_gen_qemu_{ld, st}_*
|
From: |
Richard Henderson |
|
Subject: |
[PULL 09/42] target/xtensa: Finish conversion to tcg_gen_qemu_{ld, st}_* |
|
Date: |
Fri, 5 May 2023 22:24:14 +0100 |
Convert away from the old interface with the implicit
MemOp argument.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Max Filippov <jcmvbkbc@gmail.com>
Message-Id: <20230502135741.1158035-9-richard.henderson@linaro.org>
---
target/xtensa/translate.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/xtensa/translate.c b/target/xtensa/translate.c
index 0cf3075649..728aeebebf 100644
--- a/target/xtensa/translate.c
+++ b/target/xtensa/translate.c
@@ -1549,7 +1549,7 @@ static void translate_dcache(DisasContext *dc, const
OpcodeArg arg[],
TCGv_i32 res = tcg_temp_new_i32();
tcg_gen_addi_i32(addr, arg[0].in, arg[1].imm);
- tcg_gen_qemu_ld8u(res, addr, dc->cring);
+ tcg_gen_qemu_ld_i32(res, addr, dc->cring, MO_UB);
}
static void translate_depbits(DisasContext *dc, const OpcodeArg arg[],
@@ -1726,7 +1726,7 @@ static void translate_l32r(DisasContext *dc, const
OpcodeArg arg[],
} else {
tmp = tcg_constant_i32(arg[1].imm);
}
- tcg_gen_qemu_ld32u(arg[0].out, tmp, dc->cring);
+ tcg_gen_qemu_ld_i32(arg[0].out, tmp, dc->cring, MO_TEUL);
}
static void translate_loop(DisasContext *dc, const OpcodeArg arg[],
--
2.34.1
- [PULL 04/42] target/Hexagon: Finish conversion to tcg_gen_qemu_{ld, st}_*, (continued)
- [PULL 04/42] target/Hexagon: Finish conversion to tcg_gen_qemu_{ld, st}_*, Richard Henderson, 2023/05/05
- [PULL 05/42] target/m68k: Finish conversion to tcg_gen_qemu_{ld, st}_*, Richard Henderson, 2023/05/05
- [PULL 14/42] target/hppa: Use MO_ALIGN for system UNALIGN(), Richard Henderson, 2023/05/05
- [PULL 07/42] target/s390x: Finish conversion to tcg_gen_qemu_{ld, st}_*, Richard Henderson, 2023/05/05
- [PULL 16/42] target/sparc: Use MO_ALIGN where required, Richard Henderson, 2023/05/05
- [PULL 15/42] target/hppa: Remove TARGET_ALIGNED_ONLY, Richard Henderson, 2023/05/05
- [PULL 11/42] target/alpha: Use MO_ALIGN for system UNALIGN(), Richard Henderson, 2023/05/05
- [PULL 08/42] target/sparc: Finish conversion to tcg_gen_qemu_{ld, st}_*, Richard Henderson, 2023/05/05
- [PULL 09/42] target/xtensa: Finish conversion to tcg_gen_qemu_{ld, st}_*,
Richard Henderson <=
- [PULL 13/42] target/alpha: Remove TARGET_ALIGNED_ONLY, Richard Henderson, 2023/05/05
- [PULL 18/42] target/sparc: Remove TARGET_ALIGNED_ONLY, Richard Henderson, 2023/05/05
- [PULL 10/42] tcg: Remove compatability helpers for qemu ld/st, Richard Henderson, 2023/05/05
- [PULL 12/42] target/alpha: Use MO_ALIGN where required, Richard Henderson, 2023/05/05
- [PULL 17/42] target/sparc: Use cpu_ld*_code_mmu, Richard Henderson, 2023/05/05
- [PULL 21/42] tcg/i386: Introduce HostAddress, Richard Henderson, 2023/05/05
- [PULL 25/42] tcg/aarch64: Introduce HostAddress, Richard Henderson, 2023/05/05
- [PULL 22/42] tcg/i386: Drop r0+r1 local variables from tcg_out_tlb_load, Richard Henderson, 2023/05/05
- [PULL 28/42] tcg/loongarch64: Rationalize args to tcg_out_qemu_{ld, st}, Richard Henderson, 2023/05/05
- [PULL 31/42] tcg/ppc: Rationalize args to tcg_out_qemu_{ld,st}, Richard Henderson, 2023/05/05