[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 26/32] target/avr: Use translator_ldl
|
From: |
Richard Henderson |
|
Subject: |
[PATCH 26/32] target/avr: Use translator_ldl |
|
Date: |
Fri, 5 Apr 2024 00:24:53 -1000 |
Cc: Michael Rolnik <mrolnik@gmail.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
target/avr/translate.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/target/avr/translate.c b/target/avr/translate.c
index 6df93d4c77..2d51892115 100644
--- a/target/avr/translate.c
+++ b/target/avr/translate.c
@@ -24,7 +24,6 @@
#include "cpu.h"
#include "exec/exec-all.h"
#include "tcg/tcg-op.h"
-#include "exec/cpu_ldst.h"
#include "exec/helper-proto.h"
#include "exec/helper-gen.h"
#include "exec/log.h"
@@ -173,7 +172,7 @@ static int to_regs_00_30_by_two(DisasContext *ctx, int indx)
static uint16_t next_word(DisasContext *ctx)
{
- return cpu_lduw_code(ctx->env, ctx->npc++ * 2);
+ return translator_lduw(ctx->env, &ctx->base, ctx->npc++ * 2);
}
static int append_16(DisasContext *ctx, int x)
--
2.34.1
- Re: [PATCH 16/32] accel/tcg: Provide default implementation of disas_log, (continued)
- [PATCH 20/32] accel/tcg: Introduce translator_fake_ld, Richard Henderson, 2024/04/05
- [PATCH 18/32] disas: Split disas.c, Richard Henderson, 2024/04/05
- [PATCH 22/32] target/s390x: Disassemble EXECUTEd instructions, Richard Henderson, 2024/04/05
- [PATCH 21/32] target/s390x: Fix translator_fake_ld length, Richard Henderson, 2024/04/05
- [PATCH 23/32] target/hexagon: Use translator_ldl in pkt_crosses_page, Richard Henderson, 2024/04/05
- [PATCH 24/32] target/microblaze: Use translator_ldl, Richard Henderson, 2024/04/05
- [PATCH 26/32] target/avr: Use translator_ldl,
Richard Henderson <=
- [PATCH 27/32] target/cris: Use translator_ld* in cris_fetch, Richard Henderson, 2024/04/05
- [PATCH 30/32] target/rx: Use translator_ld*, Richard Henderson, 2024/04/05
- [PATCH 25/32] target/i386: Use translator_ldub for everything, Richard Henderson, 2024/04/05
- [PATCH 32/32] target/s390x: Use translator_lduw in get_next_pc, Richard Henderson, 2024/04/05