[clang] [llvm] [RISCV] Add VeeR EH1 processor definition (PR #238935)
Shawn Nematbakhsh via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 6 09:51:51 PST 2026
================
@@ -780,6 +780,29 @@ def TENSTORRENT_ASCALON_XG : RISCVProcessorModel<"tt-ascalon-xg",
TTAscalonXGFeatures,
TTAscalonTuneFeatures>;
+// VeeR EH1 raises the minimum jump-table size: a jump-table dispatch costs
+// 4 to 10 cycles more than a predicted branch tree, and branch trees stay
+// ahead up to about 10 cases even when the switch value is random.
+class VeeREH1TuneInfo : RISCVTuneInfo {
+ let MinimumJumpTableEntries = 10;
+}
+
+// VeeR EH1 has no data cache and a single load/store unit, so clustering
+// loads gains no locality and only adds register pressure. Misaligned loads
+// and stores to idempotent memory are split by the core without a trap.
+def VEER_EH1 : RISCVProcessorModel<"veer-eh1",
----------------
snematbakhsh wrote:
Prefix added, thanks.
https://github.com/llvm/llvm-project/pull/238935
More information about the cfe-commits
mailing list