mbox series

[v4,00/27] tcg misc patches

Message ID 20221213212541.1820840-1-richard.henderson@linaro.org
Headers show
Series tcg misc patches | expand

Message

Richard Henderson Dec. 13, 2022, 9:25 p.m. UTC
For v4, I've sorted some of the reviewed patches to the beginning
of the queue and omitted them; this was not possible for all.
This set begins with the first patch that is missing review.
I've not tested this set separately, so in case it doesn't apply,
the entire tree is

  https://gitlab.com/rth7680/qemu/-/tree/tcg-next

Patches lacking review:
  01-tcg-Fix-tcg_reg_alloc_dup.patch
  02-tcg-Centralize-updates-to-reg_to_temp.patch
  03-tcg-Remove-check_regs.patch
  04-tcg-Introduce-paired-register-allocation.patch
  05-accel-tcg-Set-cflags_next_tb-in-cpu_common_initfn.patch
  06-target-sparc-Avoid-TCGV_-LOW-HIGH.patch
  09-tcg-Simplify-calls-to-temp_sync-vs-mem_coherent.patch
  17-accel-tcg-plugin-Don-t-search-for-the-function-po.patch
  20-tcg-Vary-the-allocation-size-for-TCGOp.patch
  22-tcg-Reorg-function-calls.patch
  23-tcg-Convert-typecode_to_ffi-from-array-to-functio.patch
  24-tcg-Factor-init_ffi_layouts-out-of-tcg_context_in.patch
  25-tcg-Move-ffi_cif-pointer-into-TCGHelperInfo.patch
  26-tcg-aarch64-Merge-tcg_out_callr-into-tcg_out_call.patch


r~


Philippe Mathieu-Daudé (2):
  tcg: Convert typecode_to_ffi from array to function
  tcg: Factor init_ffi_layouts() out of tcg_context_init()

Richard Henderson (25):
  tcg: Fix tcg_reg_alloc_dup*
  tcg: Centralize updates to reg_to_temp
  tcg: Remove check_regs
  tcg: Introduce paired register allocation
  accel/tcg: Set cflags_next_tb in cpu_common_initfn
  target/sparc: Avoid TCGV_{LOW,HIGH}
  tcg: Move TCG_{LOW,HIGH} to tcg-internal.h
  tcg: Add temp_subindex to TCGTemp
  tcg: Simplify calls to temp_sync vs mem_coherent
  tcg: Allocate TCGTemp pairs in host memory order
  tcg: Move TCG_TYPE_COUNT outside enum
  tcg: Introduce tcg_type_size
  tcg: Introduce TCGCallReturnKind and TCGCallArgumentKind
  tcg: Replace TCG_TARGET_CALL_ALIGN_ARGS with TCG_TARGET_CALL_ARG_I64
  tcg: Replace TCG_TARGET_EXTEND_ARGS with TCG_TARGET_CALL_ARG_I32
  tcg: Use TCG_CALL_ARG_EVEN for TCI special case
  accel/tcg/plugin: Don't search for the function pointer index
  accel/tcg/plugin: Avoid duplicate copy in copy_call
  accel/tcg/plugin: Use copy_op in append_{udata,mem}_cb
  tcg: Vary the allocation size for TCGOp
  tcg: Use output_pref wrapper function
  tcg: Reorg function calls
  tcg: Move ffi_cif pointer into TCGHelperInfo
  tcg/aarch64: Merge tcg_out_callr into tcg_out_call
  tcg: Add TCGHelperInfo argument to tcg_out_call

 include/exec/helper-head.h       |    2 +-
 include/tcg/tcg-op.h             |   35 +-
 include/tcg/tcg.h                |   96 +-
 tcg/aarch64/tcg-target.h         |    3 +-
 tcg/arm/tcg-target.h             |    3 +-
 tcg/i386/tcg-target.h            |    2 +
 tcg/loongarch64/tcg-target.h     |    3 +-
 tcg/mips/tcg-target.h            |    4 +-
 tcg/riscv/tcg-target.h           |    7 +-
 tcg/s390x/tcg-target.h           |    3 +-
 tcg/sparc64/tcg-target.h         |    3 +-
 tcg/tcg-internal.h               |   58 +-
 tcg/tci/tcg-target.h             |    7 +
 accel/tcg/plugin-gen.c           |   54 +-
 hw/core/cpu-common.c             |    1 +
 target/sparc/translate.c         |   21 +-
 tcg/optimize.c                   |   10 +-
 tcg/tcg-op-vec.c                 |   10 +-
 tcg/tcg-op.c                     |   49 +-
 tcg/tcg.c                        | 1591 +++++++++++++++++++-----------
 tcg/aarch64/tcg-target.c.inc     |   19 +-
 tcg/arm/tcg-target.c.inc         |   10 +-
 tcg/i386/tcg-target.c.inc        |    5 +-
 tcg/loongarch64/tcg-target.c.inc |    7 +-
 tcg/mips/tcg-target.c.inc        |    3 +-
 tcg/ppc/tcg-target.c.inc         |   34 +-
 tcg/riscv/tcg-target.c.inc       |    7 +-
 tcg/s390x/tcg-target.c.inc       |   12 +-
 tcg/sparc64/tcg-target.c.inc     |    3 +-
 tcg/tci/tcg-target.c.inc         |    3 +-
 30 files changed, 1285 insertions(+), 780 deletions(-)

Comments

Richard Henderson Dec. 18, 2022, 5:23 p.m. UTC | #1
Ping.


r~

On 12/13/22 13:25, Richard Henderson wrote:
> For v4, I've sorted some of the reviewed patches to the beginning
> of the queue and omitted them; this was not possible for all.
> This set begins with the first patch that is missing review.
> I've not tested this set separately, so in case it doesn't apply,
> the entire tree is
> 
>    https://gitlab.com/rth7680/qemu/-/tree/tcg-next
> 
> Patches lacking review:
>    01-tcg-Fix-tcg_reg_alloc_dup.patch
>    02-tcg-Centralize-updates-to-reg_to_temp.patch
>    03-tcg-Remove-check_regs.patch
>    04-tcg-Introduce-paired-register-allocation.patch
>    05-accel-tcg-Set-cflags_next_tb-in-cpu_common_initfn.patch
>    06-target-sparc-Avoid-TCGV_-LOW-HIGH.patch
>    09-tcg-Simplify-calls-to-temp_sync-vs-mem_coherent.patch
>    17-accel-tcg-plugin-Don-t-search-for-the-function-po.patch
>    20-tcg-Vary-the-allocation-size-for-TCGOp.patch
>    22-tcg-Reorg-function-calls.patch
>    23-tcg-Convert-typecode_to_ffi-from-array-to-functio.patch
>    24-tcg-Factor-init_ffi_layouts-out-of-tcg_context_in.patch
>    25-tcg-Move-ffi_cif-pointer-into-TCGHelperInfo.patch
>    26-tcg-aarch64-Merge-tcg_out_callr-into-tcg_out_call.patch
> 
> 
> r~
> 
> 
> Philippe Mathieu-Daudé (2):
>    tcg: Convert typecode_to_ffi from array to function
>    tcg: Factor init_ffi_layouts() out of tcg_context_init()
> 
> Richard Henderson (25):
>    tcg: Fix tcg_reg_alloc_dup*
>    tcg: Centralize updates to reg_to_temp
>    tcg: Remove check_regs
>    tcg: Introduce paired register allocation
>    accel/tcg: Set cflags_next_tb in cpu_common_initfn
>    target/sparc: Avoid TCGV_{LOW,HIGH}
>    tcg: Move TCG_{LOW,HIGH} to tcg-internal.h
>    tcg: Add temp_subindex to TCGTemp
>    tcg: Simplify calls to temp_sync vs mem_coherent
>    tcg: Allocate TCGTemp pairs in host memory order
>    tcg: Move TCG_TYPE_COUNT outside enum
>    tcg: Introduce tcg_type_size
>    tcg: Introduce TCGCallReturnKind and TCGCallArgumentKind
>    tcg: Replace TCG_TARGET_CALL_ALIGN_ARGS with TCG_TARGET_CALL_ARG_I64
>    tcg: Replace TCG_TARGET_EXTEND_ARGS with TCG_TARGET_CALL_ARG_I32
>    tcg: Use TCG_CALL_ARG_EVEN for TCI special case
>    accel/tcg/plugin: Don't search for the function pointer index
>    accel/tcg/plugin: Avoid duplicate copy in copy_call
>    accel/tcg/plugin: Use copy_op in append_{udata,mem}_cb
>    tcg: Vary the allocation size for TCGOp
>    tcg: Use output_pref wrapper function
>    tcg: Reorg function calls
>    tcg: Move ffi_cif pointer into TCGHelperInfo
>    tcg/aarch64: Merge tcg_out_callr into tcg_out_call
>    tcg: Add TCGHelperInfo argument to tcg_out_call
> 
>   include/exec/helper-head.h       |    2 +-
>   include/tcg/tcg-op.h             |   35 +-
>   include/tcg/tcg.h                |   96 +-
>   tcg/aarch64/tcg-target.h         |    3 +-
>   tcg/arm/tcg-target.h             |    3 +-
>   tcg/i386/tcg-target.h            |    2 +
>   tcg/loongarch64/tcg-target.h     |    3 +-
>   tcg/mips/tcg-target.h            |    4 +-
>   tcg/riscv/tcg-target.h           |    7 +-
>   tcg/s390x/tcg-target.h           |    3 +-
>   tcg/sparc64/tcg-target.h         |    3 +-
>   tcg/tcg-internal.h               |   58 +-
>   tcg/tci/tcg-target.h             |    7 +
>   accel/tcg/plugin-gen.c           |   54 +-
>   hw/core/cpu-common.c             |    1 +
>   target/sparc/translate.c         |   21 +-
>   tcg/optimize.c                   |   10 +-
>   tcg/tcg-op-vec.c                 |   10 +-
>   tcg/tcg-op.c                     |   49 +-
>   tcg/tcg.c                        | 1591 +++++++++++++++++++-----------
>   tcg/aarch64/tcg-target.c.inc     |   19 +-
>   tcg/arm/tcg-target.c.inc         |   10 +-
>   tcg/i386/tcg-target.c.inc        |    5 +-
>   tcg/loongarch64/tcg-target.c.inc |    7 +-
>   tcg/mips/tcg-target.c.inc        |    3 +-
>   tcg/ppc/tcg-target.c.inc         |   34 +-
>   tcg/riscv/tcg-target.c.inc       |    7 +-
>   tcg/s390x/tcg-target.c.inc       |   12 +-
>   tcg/sparc64/tcg-target.c.inc     |    3 +-
>   tcg/tci/tcg-target.c.inc         |    3 +-
>   30 files changed, 1285 insertions(+), 780 deletions(-)
>