v3: Rebase and add a few more patches.
r~ The following changes since commit 384dbdda94c0bba55bf186cccd3714bbb9b737e9: Merge tag 'migration-20231020-pull-request' of https://gitlab.com/juan.quintela/qemu into staging (2023-10-20 06:46:53 -0700) are available in the Git repository at: https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20231023 for you to fetch changes up to e40df3522b384d3b7dd38187d735bd6228b20e47: target/xtensa: Use tcg_gen_sextract_i32 (2023-10-22 16:44:49 -0700) ---------------------------------------------------------------- tcg: Drop unused tcg_temp_free define tcg: Introduce tcg_use_softmmu tcg: Optimize past conditional branches tcg: Use constant zero when expanding with divu2 tcg: Add negsetcondi tcg: Define MO_TL tcg: Export tcg_gen_ext_{i32,i64,tl} target/*: Use tcg_gen_ext_* tcg/ppc: Enable direct branching tcg_out_goto_tb with TCG_REG_TB tcg/ppc: Use ADDPCIS for power9 tcg/ppc: Use prefixed instructions for power10 tcg/ppc: Disable TCG_REG_TB for Power9/Power10 tcg/ppc: Enable direct branching tcg_out_goto_tb with TCG_REG_TB tcg/ppc: Use ADDPCIS for power9 tcg/ppc: Use prefixed instructions for power10 tcg/ppc: Disable TCG_REG_TB for Power9/Power10 ---------------------------------------------------------------- Jordan Niethe (1): tcg/ppc: Enable direct branching tcg_out_goto_tb with TCG_REG_TB Mike Frysinger (1): tcg: drop unused tcg_temp_free define Paolo Bonzini (2): tcg: add negsetcondi tcg: Define MO_TL Richard Henderson (34): tcg/ppc: Untabify tcg-target.c.inc tcg/ppc: Reinterpret tb-relative to TB+4 tcg/ppc: Use ADDPCIS in tcg_out_tb_start tcg/ppc: Use ADDPCIS in tcg_out_movi_int tcg/ppc: Use ADDPCIS for the constant pool tcg/ppc: Use ADDPCIS in tcg_out_goto_tb tcg/ppc: Use PADDI in tcg_out_movi tcg/ppc: Use prefixed instructions in tcg_out_mem_long tcg/ppc: Use PLD in tcg_out_movi for constant pool tcg/ppc: Use prefixed instructions in tcg_out_dupi_vec tcg/ppc: Use PLD in tcg_out_goto_tb tcg/ppc: Disable TCG_REG_TB for Power9/Power10 tcg: Introduce tcg_use_softmmu tcg: Provide guest_base fallback for system mode tcg/arm: Use tcg_use_softmmu tcg/aarch64: Use tcg_use_softmmu tcg/i386: Use tcg_use_softmmu tcg/loongarch64: Use tcg_use_softmmu tcg/mips: Use tcg_use_softmmu tcg/ppc: Use tcg_use_softmmu tcg/riscv: Do not reserve TCG_GUEST_BASE_REG for guest_base zero tcg/riscv: Use tcg_use_softmmu tcg/s390x: Use tcg_use_softmmu tcg: Use constant zero when expanding with divu2 tcg: Optimize past conditional branches tcg: Add tcg_gen_{ld,st}_i128 target/i386: Use i128 for 128 and 256-bit loads and stores tcg: Export tcg_gen_ext_{i32,i64,tl} target/arm: Use tcg_gen_ext_i64 target/i386: Use tcg_gen_ext_tl target/m68k: Use tcg_gen_ext_i32 target/rx: Use tcg_gen_ext_i32 target/tricore: Use tcg_gen_*extract_tl target/xtensa: Use tcg_gen_sextract_i32 include/exec/target_long.h | 2 + include/tcg/tcg-op-common.h | 9 + include/tcg/tcg-op.h | 6 +- include/tcg/tcg.h | 8 +- target/arm/tcg/translate-a64.c | 37 +-- target/i386/tcg/translate.c | 91 +++---- target/m68k/translate.c | 23 +- target/rx/translate.c | 11 +- target/tricore/translate.c | 20 +- target/xtensa/translate.c | 12 +- tcg/optimize.c | 8 +- tcg/tcg-op-ldst.c | 28 +- tcg/tcg-op.c | 50 +++- tcg/tcg.c | 13 +- tcg/aarch64/tcg-target.c.inc | 177 ++++++------ tcg/arm/tcg-target.c.inc | 203 +++++++------- tcg/i386/tcg-target.c.inc | 198 +++++++------- tcg/loongarch64/tcg-target.c.inc | 126 +++++---- tcg/mips/tcg-target.c.inc | 231 ++++++++-------- tcg/ppc/tcg-target.c.inc | 561 ++++++++++++++++++++++++++------------- tcg/riscv/tcg-target.c.inc | 189 ++++++------- tcg/s390x/tcg-target.c.inc | 161 ++++++----- 22 files changed, 1152 insertions(+), 1012 deletions(-)