aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2023-11-24 22:43:57 -0800
committerGitHub <noreply@github.com>2023-11-24 22:43:57 -0800
commitef0c296be1c4cec4bf1c4636acd810eb9a8d136c (patch)
tree7f65d418be4d5a5ccffdee42ca967449a3aa3f7b
parentd5755c9d380f8ab75a98ee9901019ab3f52259dc (diff)
parent55fdd57dd17545871f682fc45c35036ee32e9f89 (diff)
downloadriscv-opcodes-ef0c296be1c4cec4bf1c4636acd810eb9a8d136c.zip
riscv-opcodes-ef0c296be1c4cec4bf1c4636acd810eb9a8d136c.tar.gz
riscv-opcodes-ef0c296be1c4cec4bf1c4636acd810eb9a8d136c.tar.bz2
Merge pull request #209 from ved-rivos/zicfiss
Add CSR fields and SSP CSR introduced by unratified Zicfiss extension
-rw-r--r--csrs.csv1
-rw-r--r--encoding.h3
2 files changed, 4 insertions, 0 deletions
diff --git a/csrs.csv b/csrs.csv
index fa6d98d..3c6328b 100644
--- a/csrs.csv
+++ b/csrs.csv
@@ -5,6 +5,7 @@
0x009, "vxsat"
0x00A, "vxrm"
0x00F, "vcsr"
+0x011, "ssp"
0x015, "seed"
0x017, "jvt"
0xC00, "cycle"
diff --git a/encoding.h b/encoding.h
index b71047b..f56216b 100644
--- a/encoding.h
+++ b/encoding.h
@@ -148,6 +148,7 @@
#define SIP_STIP MIP_STIP
#define MENVCFG_FIOM 0x00000001
+#define MENVCFG_SSE 0x00000008
#define MENVCFG_CBIE 0x00000030
#define MENVCFG_CBCFE 0x00000040
#define MENVCFG_CBZE 0x00000080
@@ -186,6 +187,7 @@
#define MHPMEVENTH_OF 0x80000000
#define HENVCFG_FIOM 0x00000001
+#define HENVCFG_SSE 0x00000008
#define HENVCFG_CBIE 0x00000030
#define HENVCFG_CBCFE 0x00000040
#define HENVCFG_CBZE 0x00000080
@@ -221,6 +223,7 @@
#define HSTATEENH_SSTATEEN 0x80000000
#define SENVCFG_FIOM 0x00000001
+#define SENVCFG_SSE 0x00000008
#define SENVCFG_CBIE 0x00000030
#define SENVCFG_CBCFE 0x00000040
#define SENVCFG_CBZE 0x00000080