[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v6 26/54] target/i386: fetch code with translator_ld
From: |
Alex Bennée |
Subject: |
[PATCH v6 26/54] target/i386: fetch code with translator_ld |
Date: |
Thu, 17 Oct 2019 14:15:47 +0100 |
From: "Emilio G. Cota" <address@hidden>
Signed-off-by: Emilio G. Cota <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>
---
target/i386/translate.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/target/i386/translate.c b/target/i386/translate.c
index 868b0acafe..77e932d827 100644
--- a/target/i386/translate.c
+++ b/target/i386/translate.c
@@ -1925,28 +1925,28 @@ static uint64_t advance_pc(CPUX86State *env,
DisasContext *s, int num_bytes)
static inline uint8_t x86_ldub_code(CPUX86State *env, DisasContext *s)
{
- return cpu_ldub_code(env, advance_pc(env, s, 1));
+ return translator_ldub(env, advance_pc(env, s, 1));
}
static inline int16_t x86_ldsw_code(CPUX86State *env, DisasContext *s)
{
- return cpu_ldsw_code(env, advance_pc(env, s, 2));
+ return translator_ldsw(env, advance_pc(env, s, 2));
}
static inline uint16_t x86_lduw_code(CPUX86State *env, DisasContext *s)
{
- return cpu_lduw_code(env, advance_pc(env, s, 2));
+ return translator_lduw(env, advance_pc(env, s, 2));
}
static inline uint32_t x86_ldl_code(CPUX86State *env, DisasContext *s)
{
- return cpu_ldl_code(env, advance_pc(env, s, 4));
+ return translator_ldl(env, advance_pc(env, s, 4));
}
#ifdef TARGET_X86_64
static inline uint64_t x86_ldq_code(CPUX86State *env, DisasContext *s)
{
- return cpu_ldq_code(env, advance_pc(env, s, 8));
+ return translator_ldq(env, advance_pc(env, s, 8));
}
#endif
--
2.20.1
- [PATCH v6 29/54] target/alpha: fetch code with translator_ld, (continued)
- [PATCH v6 46/54] tests/tcg: drop test-i386-fprem from TESTS when not SLOW, Alex Bennée, 2019/10/17
- [PATCH v6 48/54] tests/plugin: add a hotblocks plugin, Alex Bennée, 2019/10/17
- [PATCH v6 34/54] translator: inject instrumentation from plugins, Alex Bennée, 2019/10/17
- [PATCH v6 26/54] target/i386: fetch code with translator_ld,
Alex Bennée <=
- [PATCH v6 15/54] tcg: let plugins instrument virtual memory accesses, Alex Bennée, 2019/10/17
- [PATCH v6 14/54] atomic_template: add inline trace/plugin helpers, Alex Bennée, 2019/10/17
- [PATCH v6 18/54] *-user: notify plugin of exit, Alex Bennée, 2019/10/17
- [PATCH v6 36/54] plugin: add API symbols to qemu-plugins.symbols, Alex Bennée, 2019/10/17
- [PATCH v6 25/54] target/sh4: fetch code with translator_ld, Alex Bennée, 2019/10/17
- [PATCH v6 33/54] target/openrisc: fetch code with translator_ld, Alex Bennée, 2019/10/17
- [PATCH v6 54/54] scripts/checkpatch.pl: don't complain about (foo, /* empty */), Alex Bennée, 2019/10/17
- [PATCH v6 20/54] cpu: hook plugin vcpu events, Alex Bennée, 2019/10/17
- [PATCH v6 44/54] tests/tcg: set QEMU_OPTS for all cris runs, Alex Bennée, 2019/10/17