aboutsummaryrefslogtreecommitdiff
path: root/rv64_m
diff options
context:
space:
mode:
authorNeel Gala <neelgala@incoresemi.com>2022-04-08 17:26:08 +0530
committerNeel Gala <neelgala@incoresemi.com>2022-04-08 17:26:08 +0530
commitc07042cb6b66076ff7935fa79a59ae451b0f866a (patch)
treea341d0dd10ce05ebdf64a11d3280cb5209528a6e /rv64_m
parentb60b8e3075cb2a995128d06651affb4568dff6eb (diff)
downloadriscv-opcodes-c07042cb6b66076ff7935fa79a59ae451b0f866a.zip
riscv-opcodes-c07042cb6b66076ff7935fa79a59ae451b0f866a.tar.gz
riscv-opcodes-c07042cb6b66076ff7935fa79a59ae451b0f866a.tar.bz2
migrate M-extension opcodes
- the files are simply renamed
Diffstat (limited to 'rv64_m')
-rw-r--r--rv64_m6
1 files changed, 6 insertions, 0 deletions
diff --git a/rv64_m b/rv64_m
new file mode 100644
index 0000000..cfac0b1
--- /dev/null
+++ b/rv64_m
@@ -0,0 +1,6 @@
+# RV64M additions to RV32M
+mulw rd rs1 rs2 31..25=1 14..12=0 6..2=0x0E 1..0=3
+divw rd rs1 rs2 31..25=1 14..12=4 6..2=0x0E 1..0=3
+divuw rd rs1 rs2 31..25=1 14..12=5 6..2=0x0E 1..0=3
+remw rd rs1 rs2 31..25=1 14..12=6 6..2=0x0E 1..0=3
+remuw rd rs1 rs2 31..25=1 14..12=7 6..2=0x0E 1..0=3