On 2/12/26 13:34, Taylor Simpson wrote:
From: Matheus Tavares Bernardino<[email protected]>
Table that records which CPU revision introduced or removed each opcode
Co-authored-by: Brian Cain<[email protected]>
Co-authored-by: Taylor Simpson<[email protected]>
Signed-off-by: Brian Cain<[email protected]>
Signed-off-by: Taylor Simpson<[email protected]>
---
target/hexagon/tag_rev_info.c.inc | 61 +++++++++++++++++++++++++++++++
1 file changed, 61 insertions(+)
create mode 100644 target/hexagon/tag_rev_info.c.inc
diff --git a/target/hexagon/tag_rev_info.c.inc
b/target/hexagon/tag_rev_info.c.inc
new file mode 100644
index 0000000000..ed7fb68aaf
--- /dev/null
+++ b/target/hexagon/tag_rev_info.c.inc
@@ -0,0 +1,61 @@
+/*
+ * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+
+#ifndef HEXAGON_TAG_ARCH_TABLE_H
+#define HEXAGON_TAG_ARCH_TABLE_H
+
+struct tag_rev_info { int introduced, removed; };
+
+static const struct tag_rev_info tag_rev_info[XX_LAST_OPCODE] = {
+ [A7_clip] = { .introduced = 0x67, .removed = 0x0 },
+ [A7_croundd_ri] = { .introduced = 0x67, .removed = 0x0 },
+ [A7_croundd_rr] = { .introduced = 0x67, .removed = 0x0 },
Any reason not to use enum HexagonVersion?
r~