[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 32/33] target/s390x: Use translator_lduw in get_next_pc
|
From: |
Richard Henderson |
|
Subject: |
[PATCH v2 32/33] target/s390x: Use translator_lduw in get_next_pc |
|
Date: |
Wed, 24 Apr 2024 16:31:30 -0700 |
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
target/s390x/tcg/translate.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/target/s390x/tcg/translate.c b/target/s390x/tcg/translate.c
index bac033c63c..ebd96abe6c 100644
--- a/target/s390x/tcg/translate.c
+++ b/target/s390x/tcg/translate.c
@@ -36,7 +36,6 @@
#include "tcg/tcg-op-gvec.h"
#include "qemu/log.h"
#include "qemu/host-utils.h"
-#include "exec/cpu_ldst.h"
#include "exec/helper-proto.h"
#include "exec/helper-gen.h"
@@ -6471,7 +6470,7 @@ static void s390x_tr_insn_start(DisasContextBase *dcbase,
CPUState *cs)
static target_ulong get_next_pc(CPUS390XState *env, DisasContext *s,
uint64_t pc)
{
- uint64_t insn = cpu_lduw_code(env, pc);
+ uint64_t insn = translator_lduw(env, &s->base, pc);
return pc + get_ilen((insn >> 8) & 0xff);
}
--
2.34.1
- [PATCH v2 24/33] target/microblaze: Use translator_ldl, (continued)
- [PATCH v2 24/33] target/microblaze: Use translator_ldl, Richard Henderson, 2024/04/24
- [PATCH v2 27/33] target/cris: Use translator_ld* in cris_fetch, Richard Henderson, 2024/04/24
- [PATCH v2 33/33] accel/tcg: Remove cpu_ldsb_code / cpu_ldsw_code, Richard Henderson, 2024/04/24
- [PATCH v2 25/33] target/i386: Use translator_ldub for everything, Richard Henderson, 2024/04/24
- [PATCH v2 26/33] target/avr: Use translator_lduw, Richard Henderson, 2024/04/24
- [PATCH v2 29/33] target/riscv: Use translator_ld* for everything, Richard Henderson, 2024/04/24
- [PATCH v2 30/33] target/rx: Use translator_ld*, Richard Henderson, 2024/04/24
- [PATCH v2 28/33] target/cris: Use cris_fetch in translate_v10.c.inc, Richard Henderson, 2024/04/24
- [PATCH v2 31/33] target/xtensa: Use translator_ldub in xtensa_insn_len, Richard Henderson, 2024/04/24
- [PATCH v2 32/33] target/s390x: Use translator_lduw in get_next_pc,
Richard Henderson <=
- Re: [PATCH v2 00/33] accel/tcg: Improve disassembly for target and plugin, Philippe Mathieu-Daudé, 2024/04/29