mbox series

[v3,00/14] tcg: Split out tcg-target-has.h and tcg-has.h

Message ID 20250108215156.8731-1-philmd@linaro.org (mailing list archive)
Headers show
Series tcg: Split out tcg-target-has.h and tcg-has.h | expand

Message

Philippe Mathieu-Daudé Jan. 8, 2025, 9:51 p.m. UTC
Split of <20250107080112.1175095-19-richard.henderson@linaro.org>
patch in multiple ones simpler to review (in particular
using git-diff --color-moved=dimmed-zebra option).

Richard Henderson (14):
  tcg/ppc: Remove TCGPowerISA enum
  tcg: Extract default TCG_TARGET_HAS_foo definitions to 'tcg-has.h'
  tcg/aarch64: Extract TCG_TARGET_HAS_foo defs to 'tcg-target-has.h'
  tcg/arm: Extract TCG_TARGET_HAS_foo defs to 'tcg-target-has.h'
  tcg/i386: Extract TCG_TARGET_HAS_foo defs to 'tcg-target-has.h'
  tcg/loongarch64: Extract TCG_TARGET_HAS_foo defs to 'tcg-target-has.h'
  tcg/mips: Extract TCG_TARGET_HAS_foo defs to 'tcg-target-has.h'
  tcg/ppc: Extract TCG_TARGET_HAS_foo defs to 'tcg-target-has.h'
  tcg/riscv: Extract TCG_TARGET_HAS_foo defs to 'tcg-target-has.h'
  tcg/s390x: Extract TCG_TARGET_HAS_foo defs to 'tcg-target-has.h'
  tcg/sparc64: Extract TCG_TARGET_HAS_foo defs to 'tcg-target-has.h'
  tcg/tci: Extract TCG_TARGET_HAS_foo defs to 'tcg-target-has.h'
  tcg: Include 'tcg-target-has.h' once in 'tcg-has.h'
  tcg: Only include 'tcg-has.h' when necessary

 include/tcg/tcg.h                | 105 -----------------------
 tcg/aarch64/tcg-target-has.h     | 119 ++++++++++++++++++++++++++
 tcg/aarch64/tcg-target.h         | 109 ------------------------
 tcg/arm/tcg-target-has.h         |  85 +++++++++++++++++++
 tcg/arm/tcg-target.h             |  74 ----------------
 tcg/i386/tcg-target-has.h        | 139 +++++++++++++++++++++++++++++++
 tcg/i386/tcg-target.h            | 129 ----------------------------
 tcg/loongarch64/tcg-target-has.h | 113 +++++++++++++++++++++++++
 tcg/loongarch64/tcg-target.h     | 102 -----------------------
 tcg/mips/tcg-target-has.h        | 122 +++++++++++++++++++++++++++
 tcg/mips/tcg-target.h            | 112 -------------------------
 tcg/ppc/tcg-target-has.h         | 124 +++++++++++++++++++++++++++
 tcg/ppc/tcg-target.h             | 122 ---------------------------
 tcg/riscv/tcg-target-has.h       | 112 +++++++++++++++++++++++++
 tcg/riscv/tcg-target.h           | 102 -----------------------
 tcg/s390x/tcg-target-has.h       | 124 +++++++++++++++++++++++++++
 tcg/s390x/tcg-target.h           | 114 -------------------------
 tcg/sparc64/tcg-target-has.h     |  86 +++++++++++++++++++
 tcg/sparc64/tcg-target.h         |  76 -----------------
 tcg/tcg-has.h                    | 117 ++++++++++++++++++++++++++
 tcg/tci/tcg-target-has.h         |  83 ++++++++++++++++++
 tcg/tci/tcg-target.h             |  75 -----------------
 tcg/optimize.c                   |   1 +
 tcg/tcg-common.c                 |   1 +
 tcg/tcg-op-gvec.c                |   1 +
 tcg/tcg-op-ldst.c                |   2 +-
 tcg/tcg-op-vec.c                 |   1 +
 tcg/tcg-op.c                     |   2 +-
 tcg/tcg.c                        |   1 +
 tcg/tci.c                        |   1 +
 30 files changed, 1232 insertions(+), 1122 deletions(-)
 create mode 100644 tcg/aarch64/tcg-target-has.h
 create mode 100644 tcg/arm/tcg-target-has.h
 create mode 100644 tcg/i386/tcg-target-has.h
 create mode 100644 tcg/loongarch64/tcg-target-has.h
 create mode 100644 tcg/mips/tcg-target-has.h
 create mode 100644 tcg/ppc/tcg-target-has.h
 create mode 100644 tcg/riscv/tcg-target-has.h
 create mode 100644 tcg/s390x/tcg-target-has.h
 create mode 100644 tcg/sparc64/tcg-target-has.h
 create mode 100644 tcg/tcg-has.h
 create mode 100644 tcg/tci/tcg-target-has.h