[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 15/81] tcg: Rename tcg-target.opc.h to tcg-target-opc.h.inc
From: |
Richard Henderson |
Subject: |
[PATCH v2 15/81] tcg: Rename tcg-target.opc.h to tcg-target-opc.h.inc |
Date: |
Tue, 7 Jan 2025 00:00:06 -0800 |
In addition, add empty files for mips, sparc64 and tci.
Make the include unconditional within tcg-opc.h.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
include/tcg/tcg-opc.h | 4 +---
tcg/aarch64/{tcg-target.opc.h => tcg-target-opc.h.inc} | 0
tcg/arm/{tcg-target.opc.h => tcg-target-opc.h.inc} | 0
tcg/i386/{tcg-target.opc.h => tcg-target-opc.h.inc} | 0
tcg/loongarch64/{tcg-target.opc.h => tcg-target-opc.h.inc} | 0
tcg/mips/tcg-target-opc.h.inc | 1 +
tcg/ppc/{tcg-target.opc.h => tcg-target-opc.h.inc} | 0
tcg/riscv/{tcg-target.opc.h => tcg-target-opc.h.inc} | 0
tcg/s390x/{tcg-target.opc.h => tcg-target-opc.h.inc} | 0
tcg/sparc64/tcg-target-opc.h.inc | 1 +
tcg/tci/tcg-target-opc.h.inc | 1 +
11 files changed, 4 insertions(+), 3 deletions(-)
rename tcg/aarch64/{tcg-target.opc.h => tcg-target-opc.h.inc} (100%)
rename tcg/arm/{tcg-target.opc.h => tcg-target-opc.h.inc} (100%)
rename tcg/i386/{tcg-target.opc.h => tcg-target-opc.h.inc} (100%)
rename tcg/loongarch64/{tcg-target.opc.h => tcg-target-opc.h.inc} (100%)
create mode 100644 tcg/mips/tcg-target-opc.h.inc
rename tcg/ppc/{tcg-target.opc.h => tcg-target-opc.h.inc} (100%)
rename tcg/riscv/{tcg-target.opc.h => tcg-target-opc.h.inc} (100%)
rename tcg/s390x/{tcg-target.opc.h => tcg-target-opc.h.inc} (100%)
create mode 100644 tcg/sparc64/tcg-target-opc.h.inc
create mode 100644 tcg/tci/tcg-target-opc.h.inc
diff --git a/include/tcg/tcg-opc.h b/include/tcg/tcg-opc.h
index 546eb49c11..93622f3f6b 100644
--- a/include/tcg/tcg-opc.h
+++ b/include/tcg/tcg-opc.h
@@ -301,9 +301,7 @@ DEF(cmpsel_vec, 1, 4, 1, IMPLVEC |
IMPL(TCG_TARGET_HAS_cmpsel_vec))
DEF(last_generic, 0, 0, 0, TCG_OPF_NOT_PRESENT)
-#if TCG_TARGET_MAYBE_vec
-#include "tcg-target.opc.h"
-#endif
+#include "tcg-target-opc.h.inc"
#ifdef TCG_TARGET_INTERPRETER
/* These opcodes are only for use between the tci generator and interpreter. */
diff --git a/tcg/aarch64/tcg-target.opc.h b/tcg/aarch64/tcg-target-opc.h.inc
similarity index 100%
rename from tcg/aarch64/tcg-target.opc.h
rename to tcg/aarch64/tcg-target-opc.h.inc
diff --git a/tcg/arm/tcg-target.opc.h b/tcg/arm/tcg-target-opc.h.inc
similarity index 100%
rename from tcg/arm/tcg-target.opc.h
rename to tcg/arm/tcg-target-opc.h.inc
diff --git a/tcg/i386/tcg-target.opc.h b/tcg/i386/tcg-target-opc.h.inc
similarity index 100%
rename from tcg/i386/tcg-target.opc.h
rename to tcg/i386/tcg-target-opc.h.inc
diff --git a/tcg/loongarch64/tcg-target.opc.h
b/tcg/loongarch64/tcg-target-opc.h.inc
similarity index 100%
rename from tcg/loongarch64/tcg-target.opc.h
rename to tcg/loongarch64/tcg-target-opc.h.inc
diff --git a/tcg/mips/tcg-target-opc.h.inc b/tcg/mips/tcg-target-opc.h.inc
new file mode 100644
index 0000000000..84e777bfe5
--- /dev/null
+++ b/tcg/mips/tcg-target-opc.h.inc
@@ -0,0 +1 @@
+/* No target specific opcodes. */
diff --git a/tcg/ppc/tcg-target.opc.h b/tcg/ppc/tcg-target-opc.h.inc
similarity index 100%
rename from tcg/ppc/tcg-target.opc.h
rename to tcg/ppc/tcg-target-opc.h.inc
diff --git a/tcg/riscv/tcg-target.opc.h b/tcg/riscv/tcg-target-opc.h.inc
similarity index 100%
rename from tcg/riscv/tcg-target.opc.h
rename to tcg/riscv/tcg-target-opc.h.inc
diff --git a/tcg/s390x/tcg-target.opc.h b/tcg/s390x/tcg-target-opc.h.inc
similarity index 100%
rename from tcg/s390x/tcg-target.opc.h
rename to tcg/s390x/tcg-target-opc.h.inc
diff --git a/tcg/sparc64/tcg-target-opc.h.inc b/tcg/sparc64/tcg-target-opc.h.inc
new file mode 100644
index 0000000000..84e777bfe5
--- /dev/null
+++ b/tcg/sparc64/tcg-target-opc.h.inc
@@ -0,0 +1 @@
+/* No target specific opcodes. */
diff --git a/tcg/tci/tcg-target-opc.h.inc b/tcg/tci/tcg-target-opc.h.inc
new file mode 100644
index 0000000000..84e777bfe5
--- /dev/null
+++ b/tcg/tci/tcg-target-opc.h.inc
@@ -0,0 +1 @@
+/* No target specific opcodes. */
--
2.43.0
- Re: [PATCH v2 07/81] target/arm: Do not test TCG_TARGET_HAS_bitsel_vec, (continued)
[PATCH v2 10/81] tcg: Add tcg_op_deposit_valid, Richard Henderson, 2025/01/07
[PATCH v2 33/81] tcg/i386: Handle all 8-bit extensions for i686, Richard Henderson, 2025/01/07
[PATCH v2 14/81] tcg: Remove TCG_TARGET_NEED_LDST_LABELS and TCG_TARGET_NEED_POOL_LABELS, Richard Henderson, 2025/01/07
[PATCH v2 15/81] tcg: Rename tcg-target.opc.h to tcg-target-opc.h.inc,
Richard Henderson <=
[PATCH v2 22/81] tcg: Reorg process_op_defs, Richard Henderson, 2025/01/07
[PATCH v2 18/81] tcg: Split out tcg-target-has.h and tcg-has.h, Richard Henderson, 2025/01/07
- [PATCH v3 00/14] tcg: Split out tcg-target-has.h and tcg-has.h, Philippe Mathieu-Daudé, 2025/01/08
- [PATCH v3 01/14] tcg/ppc: Remove TCGPowerISA enum, Philippe Mathieu-Daudé, 2025/01/08
- [PATCH v3 02/14] tcg: Extract default TCG_TARGET_HAS_foo definitions to 'tcg-has.h', Philippe Mathieu-Daudé, 2025/01/08
- [PATCH v3 03/14] tcg/aarch64: Extract TCG_TARGET_HAS_foo defs to 'tcg-target-has.h', Philippe Mathieu-Daudé, 2025/01/08
- [PATCH v3 04/14] tcg/arm: Extract TCG_TARGET_HAS_foo defs to 'tcg-target-has.h', Philippe Mathieu-Daudé, 2025/01/08
- [PATCH v3 05/14] tcg/i386: Extract TCG_TARGET_HAS_foo defs to 'tcg-target-has.h', Philippe Mathieu-Daudé, 2025/01/08
- [PATCH v3 06/14] tcg/loongarch64: Extract TCG_TARGET_HAS_foo defs to 'tcg-target-has.h', Philippe Mathieu-Daudé, 2025/01/08