[PATCH v3 00/20] tcg: drop tcg_temp_free from translators

Richard Henderson posted 20 patches 1 year, 1 month ago
meson.build                               |   1 -
include/tcg/tcg-temp-internal.h           |  83 ++++
include/tcg/tcg.h                         |  54 ---
accel/tcg/plugin-gen.c                    |   1 +
target/i386/tcg/translate.c               |  41 --
target/mips/tcg/msa_translate.c           |   9 -
target/mips/tcg/mxu_translate.c           |  51 --
target/mips/tcg/octeon_translate.c        |  23 -
target/mips/tcg/translate.c               | 537 +--------------------
target/mips/tcg/translate_addr_const.c    |   7 -
target/mips/tcg/tx79_translate.c          |  41 --
target/mips/tcg/vr54xx_translate.c        |   6 +-
target/s390x/tcg/translate.c              | 188 +-------
target/tricore/translate.c                | 540 +---------------------
tcg/tcg-op-gvec.c                         |   1 +
tcg/tcg-op-vec.c                          |   1 +
tcg/tcg-op.c                              |   1 +
tcg/tcg.c                                 |   1 +
target/i386/tcg/decode-new.c.inc          |  15 -
target/i386/tcg/emit.c.inc                |   6 -
target/mips/tcg/micromips_translate.c.inc |   8 -
target/mips/tcg/mips16e_translate.c.inc   |   6 -
target/mips/tcg/nanomips_translate.c.inc  | 127 +----
target/s390x/tcg/translate_vx.c.inc       | 143 ------
scripts/tracetool/__init__.py             |  23 -
scripts/tracetool/transform.py            | 168 -------
26 files changed, 128 insertions(+), 1954 deletions(-)
create mode 100644 include/tcg/tcg-temp-internal.h
delete mode 100644 scripts/tracetool/transform.py
[PATCH v3 00/20] tcg: drop tcg_temp_free from translators
Posted by Richard Henderson 1 year, 1 month ago
I've queued the reviewed patches from v2 to tcg-next; these are
the ones that remain.  Please review.

Just in case, the tree is
  https://gitlab.com/rth7680/qemu.git tcg-free


r~


Richard Henderson (20):
  target/i386: Drop tcg_temp_free
  target/mips: Drop tcg_temp_free from micromips_translate.c.inc
  target/mips: Drop tcg_temp_free from mips16e_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: Fix trans_mult_acc return
  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
  target/tricore: Drop tcg_temp_free
  tracing: remove transform.py
  tcg: Create tcg/tcg-temp-internal.h

 meson.build                               |   1 -
 include/tcg/tcg-temp-internal.h           |  83 ++++
 include/tcg/tcg.h                         |  54 ---
 accel/tcg/plugin-gen.c                    |   1 +
 target/i386/tcg/translate.c               |  41 --
 target/mips/tcg/msa_translate.c           |   9 -
 target/mips/tcg/mxu_translate.c           |  51 --
 target/mips/tcg/octeon_translate.c        |  23 -
 target/mips/tcg/translate.c               | 537 +--------------------
 target/mips/tcg/translate_addr_const.c    |   7 -
 target/mips/tcg/tx79_translate.c          |  41 --
 target/mips/tcg/vr54xx_translate.c        |   6 +-
 target/s390x/tcg/translate.c              | 188 +-------
 target/tricore/translate.c                | 540 +---------------------
 tcg/tcg-op-gvec.c                         |   1 +
 tcg/tcg-op-vec.c                          |   1 +
 tcg/tcg-op.c                              |   1 +
 tcg/tcg.c                                 |   1 +
 target/i386/tcg/decode-new.c.inc          |  15 -
 target/i386/tcg/emit.c.inc                |   6 -
 target/mips/tcg/micromips_translate.c.inc |   8 -
 target/mips/tcg/mips16e_translate.c.inc   |   6 -
 target/mips/tcg/nanomips_translate.c.inc  | 127 +----
 target/s390x/tcg/translate_vx.c.inc       | 143 ------
 scripts/tracetool/__init__.py             |  23 -
 scripts/tracetool/transform.py            | 168 -------
 26 files changed, 128 insertions(+), 1954 deletions(-)
 create mode 100644 include/tcg/tcg-temp-internal.h
 delete mode 100644 scripts/tracetool/transform.py

-- 
2.34.1
Re: [PATCH v3 00/20] tcg: drop tcg_temp_free from translators
Posted by Philippe Mathieu-Daudé 1 year, 1 month ago
On 4/3/23 19:18, Richard Henderson wrote:

> Richard Henderson (20):
>    target/i386: Drop tcg_temp_free
>    target/mips: Drop tcg_temp_free from micromips_translate.c.inc
>    target/mips: Drop tcg_temp_free from mips16e_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: Fix trans_mult_acc return
>    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
>    target/tricore: Drop tcg_temp_free
>    tracing: remove transform.py
>    tcg: Create tcg/tcg-temp-internal.h

Series:
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>

>   26 files changed, 128 insertions(+), 1954 deletions(-)

:)