aboutsummaryrefslogtreecommitdiff
path: root/opcodes-rv64m
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes-rv64m')
-rw-r--r--opcodes-rv64m7
1 files changed, 7 insertions, 0 deletions
diff --git a/opcodes-rv64m b/opcodes-rv64m
new file mode 100644
index 0000000..939c00c
--- /dev/null
+++ b/opcodes-rv64m
@@ -0,0 +1,7 @@
+# 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