aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVed Shanbhogue <ved@rivosinc.com>2023-09-15 19:06:35 -0500
committerVed Shanbhogue <ved@rivosinc.com>2023-09-15 19:06:35 -0500
commit7dc124efc440af1a32160d159002c0180750be9c (patch)
treeb2e0a61164bb1725fa5bc17e4012b8d3711a4ede
parent37dbe8347d0f2a71cf6b5871092e2a63e894a1fd (diff)
downloadriscv-opcodes-7dc124efc440af1a32160d159002c0180750be9c.zip
riscv-opcodes-7dc124efc440af1a32160d159002c0180750be9c.tar.gz
riscv-opcodes-7dc124efc440af1a32160d159002c0180750be9c.tar.bz2
add unratified Zcmop instructions
-rw-r--r--unratified/rv_zcmop13
1 files changed, 13 insertions, 0 deletions
diff --git a/unratified/rv_zcmop b/unratified/rv_zcmop
new file mode 100644
index 0000000..f58b7df
--- /dev/null
+++ b/unratified/rv_zcmop
@@ -0,0 +1,13 @@
+# Eight code points in the 16-bit encoding space
+# are provided for MOPs; encoded in the reserved
+# encoding space where c.lui N, 0 is encoded i.e
+# Where N is determined for c.mop.M as M*2+1
+
+c.mop.0 1..0=1 6..2=0 11..7=1 12=0 15..13=3
+c.mop.1 1..0=1 6..2=0 11..7=3 12=0 15..13=3
+c.mop.2 1..0=1 6..2=0 11..7=5 12=0 15..13=3
+c.mop.3 1..0=1 6..2=0 11..7=7 12=0 15..13=3
+c.mop.4 1..0=1 6..2=0 11..7=9 12=0 15..13=3
+c.mop.5 1..0=1 6..2=0 11..7=11 12=0 15..13=3
+c.mop.6 1..0=1 6..2=0 11..7=13 12=0 15..13=3
+c.mop.7 1..0=1 6..2=0 11..7=15 12=0 15..13=3