aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2019-06-16 14:49:17 -0700
committerAndrew Waterman <andrew@sifive.com>2019-06-16 14:49:17 -0700
commitb10e9afcfeacbe34f476ea72281b0bf0938504fe (patch)
tree8bdcae3784af89799b956dfdf08d58eca5c7b088
parente7efefd3326e3e73d2063718820f2966113f0516 (diff)
downloadriscv-opcodes-b10e9afcfeacbe34f476ea72281b0bf0938504fe.zip
riscv-opcodes-b10e9afcfeacbe34f476ea72281b0bf0938504fe.tar.gz
riscv-opcodes-b10e9afcfeacbe34f476ea72281b0bf0938504fe.tar.bz2
More hypervisor v0.4 updates
-rw-r--r--opcodes4
-rwxr-xr-xparse-opcodes2
2 files changed, 3 insertions, 3 deletions
diff --git a/opcodes b/opcodes
index 9eb137a..53c9577 100644
--- a/opcodes
+++ b/opcodes
@@ -129,8 +129,8 @@ csrrsi rd rs1 imm12 14..12=6 6..2=0x1C 1..0=3
csrrci rd rs1 imm12 14..12=7 6..2=0x1C 1..0=3
# Hypervisor extension
-hfence.bvma 11..7=0 rs1 rs2 31..25=0x11 14..12=0 6..2=0x1C 1..0=3
-hfence.gvma 11..7=0 rs1 rs2 31..25=0x51 14..12=0 6..2=0x1C 1..0=3
+hfence.vvma 11..7=0 rs1 rs2 31..25=0x11 14..12=0 6..2=0x1C 1..0=3
+hfence.gvma 11..7=0 rs1 rs2 31..25=0x31 14..12=0 6..2=0x1C 1..0=3
# F/D EXTENSIONS
fadd.s rd rs1 rs2 31..27=0x00 rm 26..25=0 6..2=0x14 1..0=3
diff --git a/parse-opcodes b/parse-opcodes
index 4590fff..eb02fac 100755
--- a/parse-opcodes
+++ b/parse-opcodes
@@ -797,7 +797,7 @@ def make_supervisor_latex_table():
print_subtitle('Supervisor Memory-Management Instructions')
print_insts('sfence.vma')
print_subtitle('Hypervisor Memory-Management Instructions')
- print_insts('hfence.bvma')
+ print_insts('hfence.vvma')
print_insts('hfence.gvma')
print_footer('\\caption{RISC-V Privileged Instructions}')