aboutsummaryrefslogtreecommitdiff
path: root/opcodes-rv32a
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2020-03-03 18:09:58 -0800
committerAndrew Waterman <andrew@sifive.com>2020-03-03 18:09:58 -0800
commitc7e17632237219090791ba67dd700c2fca432e20 (patch)
treef27522c5cb17b88ed7fd487f6e95dbefb8319fe9 /opcodes-rv32a
parent5d52b6321b02840d2a64f1663900f15b7c9f22a2 (diff)
downloadriscv-opcodes-c7e17632237219090791ba67dd700c2fca432e20.zip
riscv-opcodes-c7e17632237219090791ba67dd700c2fca432e20.tar.gz
riscv-opcodes-c7e17632237219090791ba67dd700c2fca432e20.tar.bz2
Factor out opcodes into per-extension files
Diffstat (limited to 'opcodes-rv32a')
-rw-r--r--opcodes-rv32a11
1 files changed, 11 insertions, 0 deletions
diff --git a/opcodes-rv32a b/opcodes-rv32a
new file mode 100644
index 0000000..f194b7c
--- /dev/null
+++ b/opcodes-rv32a
@@ -0,0 +1,11 @@
+amoadd.w rd rs1 rs2 aqrl 31..29=0 28..27=0 14..12=2 6..2=0x0B 1..0=3
+amoxor.w rd rs1 rs2 aqrl 31..29=1 28..27=0 14..12=2 6..2=0x0B 1..0=3
+amoor.w rd rs1 rs2 aqrl 31..29=2 28..27=0 14..12=2 6..2=0x0B 1..0=3
+amoand.w rd rs1 rs2 aqrl 31..29=3 28..27=0 14..12=2 6..2=0x0B 1..0=3
+amomin.w rd rs1 rs2 aqrl 31..29=4 28..27=0 14..12=2 6..2=0x0B 1..0=3
+amomax.w rd rs1 rs2 aqrl 31..29=5 28..27=0 14..12=2 6..2=0x0B 1..0=3
+amominu.w rd rs1 rs2 aqrl 31..29=6 28..27=0 14..12=2 6..2=0x0B 1..0=3
+amomaxu.w rd rs1 rs2 aqrl 31..29=7 28..27=0 14..12=2 6..2=0x0B 1..0=3
+amoswap.w rd rs1 rs2 aqrl 31..29=0 28..27=1 14..12=2 6..2=0x0B 1..0=3
+lr.w rd rs1 24..20=0 aqrl 31..29=0 28..27=2 14..12=2 6..2=0x0B 1..0=3
+sc.w rd rs1 rs2 aqrl 31..29=0 28..27=3 14..12=2 6..2=0x0B 1..0=3