aboutsummaryrefslogtreecommitdiff
path: root/inst.v
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@eecs.berkeley.edu>2012-03-24 12:59:44 -0700
committerAndrew Waterman <waterman@eecs.berkeley.edu>2012-03-24 12:59:44 -0700
commit59f027735429993530181993c7e8fd1af2e13a79 (patch)
treebc98e2da5f180a13918ece7718940183ca1ce95e /inst.v
parentd4763b92ad009f6cdd769ba30b1af62215c277df (diff)
downloadriscv-opcodes-59f027735429993530181993c7e8fd1af2e13a79.zip
riscv-opcodes-59f027735429993530181993c7e8fd1af2e13a79.tar.gz
riscv-opcodes-59f027735429993530181993c7e8fd1af2e13a79.tar.bz2
new supervisor mode
Diffstat (limited to 'inst.v')
-rw-r--r--inst.v27
1 files changed, 13 insertions, 14 deletions
diff --git a/inst.v b/inst.v
index 0598a28..f60e785 100644
--- a/inst.v
+++ b/inst.v
@@ -95,22 +95,21 @@
`define MOVN 32'b?????_?????_?????_0000001101_1110111
`define FMOVZ 32'b?????_?????_?????_0000010101_1110111
`define FMOVN 32'b?????_?????_?????_0000011101_1110111
-`define EI 32'b?????_00000_00000_0000000000_1111011
-`define DI 32'b?????_00000_00000_0000000001_1111011
-`define MFPCR 32'b?????_00000_?????_0000000010_1111011
-`define MTPCR 32'b00000_?????_?????_0000000011_1111011
+`define CLEARPCR 32'b?????_?????_????????????_000_1111011
+`define SETPCR 32'b?????_?????_????????????_001_1111011
+`define MFPCR 32'b?????_?????_00000_0000000010_1111011
+`define MTPCR 32'b?????_?????_?????_0000000011_1111011
`define ERET 32'b00000_00000_00000_0000000100_1111011
`define CFLUSH 32'b00000_00000_00000_0000000101_1111011
-`define VXCPTSAVE 32'b00000_?????_00000_1000000000_1111011
-`define VXCPTRESTORE 32'b00000_?????_00000_1000000001_1111011
-`define VXCPTKILL 32'b00000_00000_00000_1000000010_1111011
-`define VXCPTEVAC 32'b00000_?????_00000_1100000000_1111011
-`define VXCPTWAIT 32'b00000_00000_00000_1100000001_1111011
-`define VXCPTHOLD 32'b00000_00000_00000_1100000010_1111011
-`define VENQCMD 32'b00000_?????_?????_1100000011_1111011
-`define VENQIMM1 32'b00000_?????_?????_1100000100_1111011
-`define VENQIMM2 32'b00000_?????_?????_1100000101_1111011
-`define VENQCNT 32'b00000_?????_?????_1100000110_1111011
+`define VXCPTSAVE 32'b00000_?????_00000_0000000110_1111011
+`define VXCPTRESTORE 32'b00000_?????_00000_0000001110_1111011
+`define VXCPTKILL 32'b00000_00000_00000_0000010110_1111011
+`define VXCPTEVAC 32'b00000_?????_00000_0001000110_1111011
+`define VXCPTHOLD 32'b00000_00000_00000_0001001110_1111011
+`define VENQCMD 32'b00000_?????_?????_0001010110_1111011
+`define VENQIMM1 32'b00000_?????_?????_0001011110_1111011
+`define VENQIMM2 32'b00000_?????_?????_0001100110_1111011
+`define VENQCNT 32'b00000_?????_?????_0001101110_1111011
`define FADD_S 32'b?????_?????_?????_00000_???_00_1010011
`define FSUB_S 32'b?????_?????_?????_00001_???_00_1010011
`define FMUL_S 32'b?????_?????_?????_00010_???_00_1010011