The following changes since commit 9832009d9dd2386664c15cc70f6e6bfe062be8bd:
Merge tag 'pull-riscv-to-apply-20230306' of https://gitlab.com/palmer-dabbelt/qemu into staging (2023-03-07 12:53:00 +0000) are available in the Git repository at: https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20230307 for you to fetch changes up to 19458933164e4a74a15618cacc20365b20f04697: tcg: Replace tcg_const_i64 in tcg-op.c (2023-03-07 08:23:55 -0800) ---------------------------------------------------------------- accel/tcg: Fix NB_MMU_MODES to 16 Balance of the target/ patchset which eliminates tcg_temp_free Portion of the target/ patchset which eliminates tcg_const ---------------------------------------------------------------- Anton Johansson via (23): include/exec: Set default `NB_MMU_MODES` to 16 target/alpha: Remove `NB_MMU_MODES` define target/arm: Remove `NB_MMU_MODES` define target/avr: Remove `NB_MMU_MODES` define target/cris: Remove `NB_MMU_MODES` define target/hexagon: Remove `NB_MMU_MODES` define target/hppa: Remove `NB_MMU_MODES` define target/i386: Remove `NB_MMU_MODES` define target/loongarch: Remove `NB_MMU_MODES` define target/m68k: Remove `NB_MMU_MODES` define target/microblaze: Remove `NB_MMU_MODES` define target/mips: Remove `NB_MMU_MODES` define target/nios2: Remove `NB_MMU_MODES` define target/openrisc: Remove `NB_MMU_MODES` define target/ppc: Remove `NB_MMU_MODES` define target/riscv: Remove `NB_MMU_MODES` define target/rx: Remove `NB_MMU_MODES` define target/s390x: Remove `NB_MMU_MODES` define target/sh4: Remove `NB_MMU_MODES` define target/sparc: Remove `NB_MMU_MODES` define target/tricore: Remove `NB_MMU_MODES` define target/xtensa: Remove `NB_MMU_MODES` define include/exec: Remove guards around `NB_MMU_MODES` Richard Henderson (44): target/mips: Drop tcg_temp_free from micromips_translate.c.inc target/mips: Drop tcg_temp_free from msa_translate.c target/mips: Drop tcg_temp_free from mxu_translate.c target/mips: Drop tcg_temp_free from nanomips_translate.c.inc target/mips: Drop tcg_temp_free from octeon_translate.c target/mips: Drop tcg_temp_free from translate_addr_const.c target/mips: Drop tcg_temp_free from tx79_translate.c target/mips: Drop tcg_temp_free from vr54xx_translate.c target/mips: Drop tcg_temp_free from translate.c target/s390x: Drop free_compare target/s390x: Drop tcg_temp_free from translate_vx.c.inc target/s390x: Drop tcg_temp_free from translate.c target/s390x: Remove assert vs g_in2 target/s390x: Remove g_out, g_out2, g_in1, g_in2 from DisasContext tcg: Create tcg/tcg-temp-internal.h target/avr: Avoid use of tcg_const_i32 in SBIC, SBIS target/avr: Avoid use of tcg_const_i32 throughout target/cris: Avoid use of tcg_const_i32 throughout target/hppa: Avoid tcg_const_i64 in trans_fid_f target/hppa: Avoid use of tcg_const_i32 throughout target/i386: Avoid use of tcg_const_* throughout target/m68k: Avoid tcg_const_i32 when modified target/m68k: Avoid tcg_const_i32 in bfop_reg target/m68k: Avoid tcg_const_* throughout target/mips: Split out gen_lxl target/mips: Split out gen_lxr target/mips: Avoid tcg_const_tl in gen_r6_ld target/mips: Avoid tcg_const_* throughout target/ppc: Split out gen_vx_vmul10 target/ppc: Avoid tcg_const_i64 in do_vector_shift_quad target/rx: Use tcg_gen_abs_i32 target/rx: Use cpu_psw_z as temp in flags computation target/rx: Avoid tcg_const_i32 when new temp needed target/rx: Avoid tcg_const_i32 target/s390x: Avoid tcg_const_i64 target/sh4: Avoid tcg_const_i32 for TAS.B target/sh4: Avoid tcg_const_i32 tcg/sparc: Avoid tcg_const_tl in gen_edge target/tricore: Split t_n as constant from temp as variable target/tricore: Rename t_off10 and use tcg_constant_i32 target/tricore: Use setcondi instead of explicit allocation target/tricore: Drop some temp initialization target/tricore: Avoid tcg_const_i32 tcg: Replace tcg_const_i64 in tcg-op.c include/exec/cpu-defs.h | 9 +- include/tcg/tcg-temp-internal.h | 83 +++ include/tcg/tcg.h | 54 -- target/alpha/cpu-param.h | 2 - target/arm/cpu-param.h | 2 - target/avr/cpu-param.h | 1 - target/cris/cpu-param.h | 1 - target/hexagon/cpu-param.h | 2 - target/hppa/cpu-param.h | 1 - target/i386/cpu-param.h | 1 - target/loongarch/cpu-param.h | 1 - target/m68k/cpu-param.h | 1 - target/microblaze/cpu-param.h | 1 - target/microblaze/cpu.h | 2 +- target/mips/cpu-param.h | 1 - target/nios2/cpu-param.h | 1 - target/openrisc/cpu-param.h | 1 - target/ppc/cpu-param.h | 1 - target/riscv/cpu-param.h | 1 - target/rx/cpu-param.h | 2 - target/s390x/cpu-param.h | 1 - target/sh4/cpu-param.h | 1 - target/sparc/cpu-param.h | 2 - target/tricore/cpu-param.h | 1 - target/xtensa/cpu-param.h | 1 - accel/tcg/plugin-gen.c | 1 + target/avr/translate.c | 48 +- target/cris/translate.c | 46 +- target/hppa/translate.c | 35 +- target/i386/tcg/translate.c | 83 +-- target/m68k/translate.c | 229 +++++---- target/mips/tcg/msa_translate.c | 9 - target/mips/tcg/mxu_translate.c | 55 +- target/mips/tcg/octeon_translate.c | 23 - target/mips/tcg/translate.c | 819 +++++------------------------- target/mips/tcg/translate_addr_const.c | 7 - target/mips/tcg/tx79_translate.c | 45 +- target/mips/tcg/vr54xx_translate.c | 4 - target/rx/translate.c | 84 ++- target/s390x/tcg/translate.c | 208 +------- target/sh4/translate.c | 35 +- target/sparc/translate.c | 14 +- target/tricore/translate.c | 462 ++++++++--------- tcg/tcg-op-gvec.c | 1 + tcg/tcg-op-vec.c | 1 + tcg/tcg-op.c | 13 +- tcg/tcg.c | 1 + target/cris/translate_v10.c.inc | 26 +- target/mips/tcg/micromips_translate.c.inc | 12 +- target/mips/tcg/nanomips_translate.c.inc | 143 +----- target/ppc/translate/vmx-impl.c.inc | 99 ++-- target/s390x/tcg/translate_vx.c.inc | 143 ------ 52 files changed, 843 insertions(+), 1977 deletions(-) create mode 100644 include/tcg/tcg-temp-internal.h
