mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
Remove unused CONFIG_TCG_PASS_AREG0 and dead code
Now that CONFIG_TCG_PASS_AREG0 is enabled for all targets, remove dead code and support for !CONFIG_TCG_PASS_AREG0 case. Remove dyngen-exec.h and all references to it. Although included by hw/spapr_hcall.c, it does not seem to use it. Remove unused HELPER_CFLAGS. Signed-off-by: Blue Swirl <blauwirbel@gmail.com> Reviewed-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
895c2d0435
commit
89c33337fd
31 changed files with 53 additions and 525 deletions
12
tci.c
12
tci.c
|
@ -25,7 +25,6 @@
|
|||
#endif
|
||||
|
||||
#include "qemu-common.h"
|
||||
#include "dyngen-exec.h" /* env */
|
||||
#include "exec-all.h" /* MAX_OPC_PARAM_IARGS */
|
||||
#include "tcg-op.h"
|
||||
|
||||
|
@ -63,17 +62,6 @@ uintptr_t tci_tb_ptr;
|
|||
|
||||
static tcg_target_ulong tci_reg[TCG_TARGET_NB_REGS];
|
||||
|
||||
#if !defined(CONFIG_TCG_PASS_AREG0)
|
||||
# define helper_ldb_mmu(env, addr, mmu_idx) __ldb_mmu(addr, mmu_idx)
|
||||
# define helper_ldw_mmu(env, addr, mmu_idx) __ldw_mmu(addr, mmu_idx)
|
||||
# define helper_ldl_mmu(env, addr, mmu_idx) __ldl_mmu(addr, mmu_idx)
|
||||
# define helper_ldq_mmu(env, addr, mmu_idx) __ldq_mmu(addr, mmu_idx)
|
||||
# define helper_stb_mmu(env, addr, val, mmu_idx) __stb_mmu(addr, val, mmu_idx)
|
||||
# define helper_stw_mmu(env, addr, val, mmu_idx) __stw_mmu(addr, val, mmu_idx)
|
||||
# define helper_stl_mmu(env, addr, val, mmu_idx) __stl_mmu(addr, val, mmu_idx)
|
||||
# define helper_stq_mmu(env, addr, val, mmu_idx) __stq_mmu(addr, val, mmu_idx)
|
||||
#endif /* !CONFIG_TCG_PASS_AREG0 */
|
||||
|
||||
static tcg_target_ulong tci_read_reg(TCGReg index)
|
||||
{
|
||||
assert(index < ARRAY_SIZE(tci_reg));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue