aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2017-05-07 19:16:48 -0700
committerAndrew Waterman <andrew@sifive.com>2017-05-07 19:16:48 -0700
commit1ac9833cd41d36d558c12392c724aa68fa9dea50 (patch)
tree176060ea5fea4d23f9ab49c9964a4814c423c337
parent18383e76bd447bf3d1887026791f938bf253a87b (diff)
downloadriscv-opcodes-1ac9833cd41d36d558c12392c724aa68fa9dea50.zip
riscv-opcodes-1ac9833cd41d36d558c12392c724aa68fa9dea50.tar.gz
riscv-opcodes-1ac9833cd41d36d558c12392c724aa68fa9dea50.tar.bz2
Add UXl/SXL
-rw-r--r--encoding.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/encoding.h b/encoding.h
index e9006b9..97ddbec 100644
--- a/encoding.h
+++ b/encoding.h
@@ -23,6 +23,8 @@
#define MSTATUS_TW 0x00200000
#define MSTATUS_TSR 0x00400000
#define MSTATUS32_SD 0x80000000
+#define MSTATUS_UXL 0x0000000300000000
+#define MSTATUS_SXL 0x0000000C00000000
#define MSTATUS64_SD 0x8000000000000000
#define SSTATUS_UIE 0x00000001
@@ -35,6 +37,7 @@
#define SSTATUS_SUM 0x00040000
#define SSTATUS_MXR 0x00080000
#define SSTATUS32_SD 0x80000000
+#define SSTATUS_UXL 0x0000000300000000
#define SSTATUS64_SD 0x8000000000000000
#define DCSR_XDEBUGVER (3U<<30)