aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2020-02-13 11:58:23 -0800
committerAndrew Waterman <andrew@sifive.com>2020-02-13 11:58:23 -0800
commit421028413d3060202086182fae709d5e3582da50 (patch)
tree14b7a9948f9ba60eba0005927eff947133ba8a2d
parentb354e8773a877a477f2d60683af963c410250f2b (diff)
downloadriscv-opcodes-421028413d3060202086182fae709d5e3582da50.zip
riscv-opcodes-421028413d3060202086182fae709d5e3582da50.tar.gz
riscv-opcodes-421028413d3060202086182fae709d5e3582da50.tar.bz2
Remove mstatus.HPP; move mstatus.VS to its old location
See https://github.com/riscv/riscv-v-spec/pull/351
-rw-r--r--encoding.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/encoding.h b/encoding.h
index 5138e5d..1bbc31f 100644
--- a/encoding.h
+++ b/encoding.h
@@ -12,7 +12,7 @@
#define MSTATUS_HPIE 0x00000040
#define MSTATUS_MPIE 0x00000080
#define MSTATUS_SPP 0x00000100
-#define MSTATUS_HPP 0x00000600
+#define MSTATUS_VS 0x00000600
#define MSTATUS_MPP 0x00001800
#define MSTATUS_FS 0x00006000
#define MSTATUS_XS 0x00018000
@@ -22,7 +22,6 @@
#define MSTATUS_TVM 0x00100000
#define MSTATUS_TW 0x00200000
#define MSTATUS_TSR 0x00400000
-#define MSTATUS_VS 0x01800000
#define MSTATUS32_SD 0x80000000
#define MSTATUS_UXL 0x0000000300000000
#define MSTATUS_SXL 0x0000000C00000000
@@ -33,11 +32,11 @@
#define SSTATUS_UPIE 0x00000010
#define SSTATUS_SPIE 0x00000020
#define SSTATUS_SPP 0x00000100
+#define SSTATUS_VS 0x00000600
#define SSTATUS_FS 0x00006000
#define SSTATUS_XS 0x00018000
#define SSTATUS_SUM 0x00040000
#define SSTATUS_MXR 0x00080000
-#define SSTATUS_VS 0x01800000
#define SSTATUS32_SD 0x80000000
#define SSTATUS_UXL 0x0000000300000000
#define SSTATUS64_SD 0x8000000000000000