diff options
author | Ved Shanbhogue <91900059+ved-rivos@users.noreply.github.com> | 2024-05-05 16:26:27 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-05 14:26:27 -0700 |
commit | 39c35762c277931c5861b4a1551b92671d768240 (patch) | |
tree | 14fe214acbb70293322924b352b8642a3e3b094d /rv_zabha | |
parent | 0eeaa0dd8b7e18fd98c8dca7e4f1592f1b021ba1 (diff) | |
download | riscv-opcodes-39c35762c277931c5861b4a1551b92671d768240.zip riscv-opcodes-39c35762c277931c5861b4a1551b92671d768240.tar.gz riscv-opcodes-39c35762c277931c5861b4a1551b92671d768240.tar.bz2 |
Mark Zabha ratified (#244)
Diffstat (limited to 'rv_zabha')
-rw-r--r-- | rv_zabha | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/rv_zabha b/rv_zabha new file mode 100644 index 0000000..b3a6f79 --- /dev/null +++ b/rv_zabha @@ -0,0 +1,23 @@ +# byte width AMO +amoswap.b rd rs1 rs2 aq rl 31..29=0 28..27=1 14..12=0 6..2=0x0B 1..0=3 +amoadd.b rd rs1 rs2 aq rl 31..29=0 28..27=0 14..12=0 6..2=0x0B 1..0=3 +amoxor.b rd rs1 rs2 aq rl 31..29=1 28..27=0 14..12=0 6..2=0x0B 1..0=3 +amoand.b rd rs1 rs2 aq rl 31..29=3 28..27=0 14..12=0 6..2=0x0B 1..0=3 +amoor.b rd rs1 rs2 aq rl 31..29=2 28..27=0 14..12=0 6..2=0x0B 1..0=3 +amomin.b rd rs1 rs2 aq rl 31..29=4 28..27=0 14..12=0 6..2=0x0B 1..0=3 +amomax.b rd rs1 rs2 aq rl 31..29=5 28..27=0 14..12=0 6..2=0x0B 1..0=3 +amominu.b rd rs1 rs2 aq rl 31..29=6 28..27=0 14..12=0 6..2=0x0B 1..0=3 +amomaxu.b rd rs1 rs2 aq rl 31..29=7 28..27=0 14..12=0 6..2=0x0B 1..0=3 +amocas.b rd rs1 rs2 aq rl 31..29=1 28..27=1 14..12=0 6..2=0x0B 1..0=3 + +# halfword width AMO +amoswap.h rd rs1 rs2 aq rl 31..29=0 28..27=1 14..12=1 6..2=0x0B 1..0=3 +amoadd.h rd rs1 rs2 aq rl 31..29=0 28..27=0 14..12=1 6..2=0x0B 1..0=3 +amoxor.h rd rs1 rs2 aq rl 31..29=1 28..27=0 14..12=1 6..2=0x0B 1..0=3 +amoand.h rd rs1 rs2 aq rl 31..29=3 28..27=0 14..12=1 6..2=0x0B 1..0=3 +amoor.h rd rs1 rs2 aq rl 31..29=2 28..27=0 14..12=1 6..2=0x0B 1..0=3 +amomin.h rd rs1 rs2 aq rl 31..29=4 28..27=0 14..12=1 6..2=0x0B 1..0=3 +amomax.h rd rs1 rs2 aq rl 31..29=5 28..27=0 14..12=1 6..2=0x0B 1..0=3 +amominu.h rd rs1 rs2 aq rl 31..29=6 28..27=0 14..12=1 6..2=0x0B 1..0=3 +amomaxu.h rd rs1 rs2 aq rl 31..29=7 28..27=0 14..12=1 6..2=0x0B 1..0=3 +amocas.h rd rs1 rs2 aq rl 31..29=1 28..27=1 14..12=1 6..2=0x0B 1..0=3 |