[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 33/33] accel/tcg: Remove cpu_ldsb_code / cpu_ldsw_code
From: |
Richard Henderson |
Subject: |
[PATCH v2 33/33] accel/tcg: Remove cpu_ldsb_code / cpu_ldsw_code |
Date: |
Wed, 24 Apr 2024 16:31:31 -0700 |
From: Philippe Mathieu-Daudé <philmd@linaro.org>
Previous commits replaced them by translator_ld* calls.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20240405131532.40913-1-philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
include/exec/cpu_ldst.h | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/include/exec/cpu_ldst.h b/include/exec/cpu_ldst.h
index eb8f3f0595..85ca104dc9 100644
--- a/include/exec/cpu_ldst.h
+++ b/include/exec/cpu_ldst.h
@@ -438,16 +438,6 @@ uint32_t cpu_lduw_code(CPUArchState *env, abi_ptr addr);
uint32_t cpu_ldl_code(CPUArchState *env, abi_ptr addr);
uint64_t cpu_ldq_code(CPUArchState *env, abi_ptr addr);
-static inline int cpu_ldsb_code(CPUArchState *env, abi_ptr addr)
-{
- return (int8_t)cpu_ldub_code(env, addr);
-}
-
-static inline int cpu_ldsw_code(CPUArchState *env, abi_ptr addr)
-{
- return (int16_t)cpu_lduw_code(env, addr);
-}
-
/**
* tlb_vaddr_to_host:
* @env: CPUArchState
--
2.34.1
- [PATCH v2 15/33] plugins: Merge alloc_tcg_plugin_context into plugin_gen_tb_start, (continued)
- [PATCH v2 15/33] plugins: Merge alloc_tcg_plugin_context into plugin_gen_tb_start, Richard Henderson, 2024/04/24
- [PATCH v2 19/33] disas: Use translator_st to get disassembly data, Richard Henderson, 2024/04/24
- [PATCH v2 22/33] target/s390x: Disassemble EXECUTEd instructions, Richard Henderson, 2024/04/24
- [PATCH v2 23/33] target/hexagon: Use translator_ldl in pkt_crosses_page, Richard Henderson, 2024/04/24
- [PATCH v2 20/33] accel/tcg: Introduce translator_fake_ld, Richard Henderson, 2024/04/24
- [PATCH v2 18/33] disas: Split disas.c, Richard Henderson, 2024/04/24
- [PATCH v2 21/33] target/s390x: Fix translator_fake_ld length, Richard Henderson, 2024/04/24
- [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 <=
- [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, 2024/04/24
- Re: [PATCH v2 00/33] accel/tcg: Improve disassembly for target and plugin, Philippe Mathieu-Daudé, 2024/04/29