mbox series

[v2,00/25] tcg: Remove tcg_const_*

Message ID 20230307183503.2512684-1-richard.henderson@linaro.org
Headers show
Series tcg: Remove tcg_const_* | expand

Message

Richard Henderson March 7, 2023, 6:34 p.m. UTC
Based-on: 20230307175848.2508955-1-richard.henderson@linaro.org
("[PULL 00/67] tcg patch queue")

This completes the transition from tcg_const_* to tcg_constant_* that
started in 2020.

The bulk of the v1 patch set has been reviewed and is queued above.
A few of these patches are reviewed, but have dependencies on
unreviewed patches and so couldn't be queued.


r~


Needs Review:
  02-target-arm-Handle-FPROUNDING_ODD-in-arm_rmode_to_.patch
  05-target-arm-Create-gen_set_rmode-gen_restore_rmode.patch
  06-target-arm-Improve-trans_BFCI.patch
  08-target-arm-Avoid-tcg_const_-in-translate-mve.c.patch
  09-target-arm-Avoid-tcg_const_ptr-in-disas_simd_zip_.patch
  12-target-m68k-Reject-immediate-as-destination-in-ge.patch
  14-target-ppc-Avoid-tcg_const_i64-in-do_vcntmb.patch
  15-target-ppc-Avoid-tcg_const_-in-vmx-impl.c.inc.patch
  16-target-ppc-Avoid-tcg_const_-in-xxeval.patch
  17-target-ppc-Avoid-tcg_const_-in-vsx-impl.c.inc.patch
  18-target-ppc-Avoid-tcg_const_-in-fp-impl.c.inc.patch
  19-target-ppc-Avoid-tcg_const_-in-power8-pmu-regs.c..patch
  20-target-ppc-Rewrite-trans_ADDG6S.patch
  21-target-ppc-Fix-gen_tlbsx_booke206.patch
  22-target-ppc-Avoid-tcg_const_-in-translate.c.patch
  23-target-tricore-Use-min-max-for-saturate.patch


Richard Henderson (25):
  target/arm: Use rmode >= 0 for need_rmode
  target/arm: Handle FPROUNDING_ODD in arm_rmode_to_sf
  target/arm: Improve arm_rmode_to_sf
  target/arm: Consistently use ARMFPRounding during translation
  target/arm: Create gen_set_rmode, gen_restore_rmode
  target/arm: Improve trans_BFCI
  target/arm: Avoid tcg_const_ptr in gen_sve_{ldr,str}
  target/arm: Avoid tcg_const_* in translate-mve.c
  target/arm: Avoid tcg_const_ptr in disas_simd_zip_trn
  target/arm: Avoid tcg_const_ptr in handle_vec_simd_sqshrn
  target/arm: Avoid tcg_const_ptr in handle_rev
  target/m68k: Reject immediate as destination in gen_ea_mode
  target/m68k: Use tcg_constant_i32 in gen_ea_mode
  target/ppc: Avoid tcg_const_i64 in do_vcntmb
  target/ppc: Avoid tcg_const_* in vmx-impl.c.inc
  target/ppc: Avoid tcg_const_* in xxeval
  target/ppc: Avoid tcg_const_* in vsx-impl.c.inc
  target/ppc: Avoid tcg_const_* in fp-impl.c.inc
  target/ppc: Avoid tcg_const_* in power8-pmu-regs.c.inc
  target/ppc: Rewrite trans_ADDG6S
  target/ppc: Fix gen_tlbsx_booke206
  target/ppc: Avoid tcg_const_* in translate.c
  target/tricore: Use min/max for saturate
  tcg: Drop tcg_const_*_vec
  tcg: Drop tcg_const_*

 include/tcg/tcg-op.h                       |   4 -
 include/tcg/tcg.h                          |  10 --
 target/arm/internals.h                     |  12 +-
 target/arm/tcg/translate.h                 |  17 +++
 target/arm/tcg/translate-a64.c             | 168 +++++++++------------
 target/arm/tcg/translate-mve.c             |  56 +++----
 target/arm/tcg/translate-sve.c             |  28 ++--
 target/arm/tcg/translate-vfp.c             |  26 ++--
 target/arm/tcg/translate.c                 |  13 +-
 target/arm/vfp_helper.c                    |  35 +----
 target/m68k/translate.c                    |   6 +-
 target/ppc/translate.c                     | 148 +++++++++---------
 target/tricore/translate.c                 |  14 +-
 tcg/tcg-op-vec.c                           |  34 +----
 tcg/tcg.c                                  |  16 --
 target/ppc/power8-pmu-regs.c.inc           |   4 +-
 target/ppc/translate/fixedpoint-impl.c.inc |  44 +++---
 target/ppc/translate/fp-impl.c.inc         |  26 ++--
 target/ppc/translate/vmx-impl.c.inc        |  31 ++--
 target/ppc/translate/vsx-impl.c.inc        |  36 ++---
 tcg/i386/tcg-target.c.inc                  |   9 +-
 21 files changed, 326 insertions(+), 411 deletions(-)