diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-04-03 07:08:48 +0000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-05-16 15:21:39 -0700 |
commit | a0d99b3f47a4fa0ccd07a9a8280b272167d18c15 (patch) | |
tree | d4a0713f0cbf582a69c0a59808e8988be4c7734d | |
parent | 2908650333ec463031632baa6ab2c9609732056d (diff) | |
download | qemu-a0d99b3f47a4fa0ccd07a9a8280b272167d18c15.zip qemu-a0d99b3f47a4fa0ccd07a9a8280b272167d18c15.tar.gz qemu-a0d99b3f47a4fa0ccd07a9a8280b272167d18c15.tar.bz2 |
accel/tcg: Remove helper_unaligned_{ld,st}
These functions are now unused.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
-rw-r--r-- | accel/tcg/user-exec.c | 10 | ||||
-rw-r--r-- | include/tcg/tcg-ldst.h | 6 |
2 files changed, 0 insertions, 16 deletions
diff --git a/accel/tcg/user-exec.c b/accel/tcg/user-exec.c index 8f86254..7b824dc 100644 --- a/accel/tcg/user-exec.c +++ b/accel/tcg/user-exec.c @@ -889,16 +889,6 @@ void page_reset_target_data(target_ulong start, target_ulong last) { } /* The softmmu versions of these helpers are in cputlb.c. */ -void helper_unaligned_ld(CPUArchState *env, target_ulong addr) -{ - cpu_loop_exit_sigbus(env_cpu(env), addr, MMU_DATA_LOAD, GETPC()); -} - -void helper_unaligned_st(CPUArchState *env, target_ulong addr) -{ - cpu_loop_exit_sigbus(env_cpu(env), addr, MMU_DATA_STORE, GETPC()); -} - static void *cpu_mmu_lookup(CPUArchState *env, abi_ptr addr, MemOp mop, uintptr_t ra, MMUAccessType type) { diff --git a/include/tcg/tcg-ldst.h b/include/tcg/tcg-ldst.h index 64f48e6..7dd5701 100644 --- a/include/tcg/tcg-ldst.h +++ b/include/tcg/tcg-ldst.h @@ -60,10 +60,4 @@ void helper_stq_mmu(CPUArchState *env, target_ulong addr, uint64_t val, void helper_st16_mmu(CPUArchState *env, target_ulong addr, Int128 val, MemOpIdx oi, uintptr_t retaddr); -#ifdef CONFIG_USER_ONLY - -G_NORETURN void helper_unaligned_ld(CPUArchState *env, target_ulong addr); -G_NORETURN void helper_unaligned_st(CPUArchState *env, target_ulong addr); - -#endif /* CONFIG_USER_ONLY */ #endif /* TCG_LDST_H */ |