[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 00/22] tcg: backend constraints cleanup
From: |
Richard Henderson |
Subject: |
[PATCH 00/22] tcg: backend constraints cleanup |
Date: |
Tue, 22 Dec 2020 22:01:42 -0800 |
This pulls out constraints to a couple of headers, which
reduces the boilerplate just a little.
I have a longer term goal, which this aids, in which I
move some of the startup-time debug-only validation into
build/compile-time validation. But not yet.
r~
Richard Henderson (22):
tcg/tci: Drop L and S constraints
tcg/i386: Move constraint type check to tcg_target_const_match
tcg: Split out target constraints to tcg-target-constr.h
tcg/arm: Convert to tcg-target-constr.h
tcg/aarch64: Convert to tcg-target-constr.h
tcg/ppc: Convert to tcg-target-constr.h
tcg/tci: Convert to tcg-target-constr.h
tcg/mips: Convert to tcg-target-constr.h
tcg/riscv: Convert to tcg-target-constr.h
tcg/s390: Convert to tcg-target-constr.h
tcg/sparc: Convert to tcg-target-constr.h
tcg: Remove TCG_TARGET_CONSTR_H
tcg: Split out constraint sets to tcg-target-conset.h
tcg/aarch64: Convert to tcg-target-conset.h
tcg/arm: Convert to tcg-target-conset.h
tcg/mips: Convert to tcg-target-conset.h
tcg/ppc: Convert to tcg-target-conset.h
tcg/riscv: Convert to tcg-target-conset.h
tcg/s390: Convert to tcg-target-conset.h
tcg/sparc: Convert to tcg-target-conset.h
tcg/tci: Convert to tcg-target-conset.h
tcg: Remove TCG_TARGET_CONSET_H
tcg/aarch64/tcg-target-conset.h | 31 +++
tcg/aarch64/tcg-target-constr.h | 27 +++
tcg/arm/tcg-target-conset.h | 30 +++
tcg/arm/tcg-target-constr.h | 31 +++
tcg/i386/tcg-target-conset.h | 44 ++++
tcg/i386/tcg-target-constr.h | 26 +++
tcg/mips/tcg-target-conset.h | 31 +++
tcg/mips/tcg-target-constr.h | 31 +++
tcg/ppc/tcg-target-conset.h | 37 ++++
tcg/ppc/tcg-target-constr.h | 37 ++++
tcg/riscv/tcg-target-conset.h | 25 +++
tcg/riscv/tcg-target-constr.h | 24 +++
tcg/s390/tcg-target-conset.h | 24 +++
tcg/s390/tcg-target-constr.h | 15 ++
tcg/sparc/tcg-target-conset.h | 27 +++
tcg/sparc/tcg-target-constr.h | 16 ++
tcg/tci/tcg-target-conset.h | 20 ++
tcg/tci/tcg-target-constr.h | 9 +
tcg/tcg.c | 140 ++++++++++++-
tcg/aarch64/tcg-target.c.inc | 132 +++---------
tcg/arm/tcg-target.c.inc | 154 +++-----------
tcg/i386/tcg-target.c.inc | 281 ++++++++-----------------
tcg/mips/tcg-target.c.inc | 152 +++-----------
tcg/ppc/tcg-target.c.inc | 194 +++++------------
tcg/riscv/tcg-target.c.inc | 122 ++---------
tcg/s390/tcg-target.c.inc | 161 +++++---------
tcg/sparc/tcg-target.c.inc | 114 ++--------
tcg/tci/tcg-target.c.inc | 359 +++++++++++---------------------
28 files changed, 1064 insertions(+), 1230 deletions(-)
create mode 100644 tcg/aarch64/tcg-target-conset.h
create mode 100644 tcg/aarch64/tcg-target-constr.h
create mode 100644 tcg/arm/tcg-target-conset.h
create mode 100644 tcg/arm/tcg-target-constr.h
create mode 100644 tcg/i386/tcg-target-conset.h
create mode 100644 tcg/i386/tcg-target-constr.h
create mode 100644 tcg/mips/tcg-target-conset.h
create mode 100644 tcg/mips/tcg-target-constr.h
create mode 100644 tcg/ppc/tcg-target-conset.h
create mode 100644 tcg/ppc/tcg-target-constr.h
create mode 100644 tcg/riscv/tcg-target-conset.h
create mode 100644 tcg/riscv/tcg-target-constr.h
create mode 100644 tcg/s390/tcg-target-conset.h
create mode 100644 tcg/s390/tcg-target-constr.h
create mode 100644 tcg/sparc/tcg-target-conset.h
create mode 100644 tcg/sparc/tcg-target-constr.h
create mode 100644 tcg/tci/tcg-target-conset.h
create mode 100644 tcg/tci/tcg-target-constr.h
--
2.25.1
- [PATCH 00/22] tcg: backend constraints cleanup,
Richard Henderson <=
- [PATCH 01/22] tcg/tci: Drop L and S constraints, Richard Henderson, 2020/12/23
- [PATCH 05/22] tcg/aarch64: Convert to tcg-target-constr.h, Richard Henderson, 2020/12/23
- [PATCH 03/22] tcg: Split out target constraints to tcg-target-constr.h, Richard Henderson, 2020/12/23
- [PATCH 13/22] tcg: Split out constraint sets to tcg-target-conset.h, Richard Henderson, 2020/12/23
- [PATCH 02/22] tcg/i386: Move constraint type check to tcg_target_const_match, Richard Henderson, 2020/12/23
- [PATCH 04/22] tcg/arm: Convert to tcg-target-constr.h, Richard Henderson, 2020/12/23
- [PATCH 09/22] tcg/riscv: Convert to tcg-target-constr.h, Richard Henderson, 2020/12/23
- [PATCH 10/22] tcg/s390: Convert to tcg-target-constr.h, Richard Henderson, 2020/12/23
- [PATCH 07/22] tcg/tci: Convert to tcg-target-constr.h, Richard Henderson, 2020/12/23
- [PATCH 06/22] tcg/ppc: Convert to tcg-target-constr.h, Richard Henderson, 2020/12/23