aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2024-05-30 21:46:56 -0700
committerAndrew Waterman <andrew@sifive.com>2024-06-11 13:51:14 -0700
commitca38d97e7b0ab0b482e50e1381dfb28eab48aefa (patch)
tree361f9626773500cd3e33855fe5485cfd6ce4dccc
parent74ee3b76169f98f4bf735b539c472d691c1588cf (diff)
downloadspike-ca38d97e7b0ab0b482e50e1381dfb28eab48aefa.zip
spike-ca38d97e7b0ab0b482e50e1381dfb28eab48aefa.tar.gz
spike-ca38d97e7b0ab0b482e50e1381dfb28eab48aefa.tar.bz2
Add comments to overlap list
-rw-r--r--riscv/overlap_list.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/riscv/overlap_list.h b/riscv/overlap_list.h
index 8558426..7468e87 100644
--- a/riscv/overlap_list.h
+++ b/riscv/overlap_list.h
@@ -1,3 +1,4 @@
+// these overlap c.fsdsp
DECLARE_OVERLAP_INSN(cm_push, EXT_ZCMP)
DECLARE_OVERLAP_INSN(cm_pop, EXT_ZCMP)
DECLARE_OVERLAP_INSN(cm_popret, EXT_ZCMP)
@@ -5,10 +6,18 @@ DECLARE_OVERLAP_INSN(cm_popretz, EXT_ZCMP)
DECLARE_OVERLAP_INSN(cm_mva01s, EXT_ZCMP)
DECLARE_OVERLAP_INSN(cm_mvsa01, EXT_ZCMP)
DECLARE_OVERLAP_INSN(cm_jalt, EXT_ZCMT)
+
+// c.ebreak and c.jalr overlap c.add
DECLARE_OVERLAP_INSN(c_ebreak, EXT_ZCA)
DECLARE_OVERLAP_INSN(c_jalr, EXT_ZCA)
+
+// c.jr overlaps c.mv
DECLARE_OVERLAP_INSN(c_jr, EXT_ZCA)
+
+// lpad overlaps auipc
DECLARE_OVERLAP_INSN(lpad, EXT_ZICFILP)
+
+// these overlap Zimop/Zcmop
DECLARE_OVERLAP_INSN(ssrdp, EXT_ZICFISS)
DECLARE_OVERLAP_INSN(sspush_x1, EXT_ZICFISS)
DECLARE_OVERLAP_INSN(sspush_x5, EXT_ZICFISS)