[clang] [llvm] [RISCV] Add VeeR EH1 processor definition (PR #238935)

Luke Lau via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 4 22:38:42 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",
----------------
lukel97 wrote:

I can't remember what we agreed on last time but do we not usually prefix processors with a vendor name, e.g `openchip-veer-eh1`? I think `rocket-*` are the only processors that deviate from the convention

https://github.com/llvm/llvm-project/pull/238935


More information about the cfe-commits mailing list