diff options
author | Ved Shanbhogue <ved@rivosinc.com> | 2023-10-29 15:40:26 -0500 |
---|---|---|
committer | Ved Shanbhogue <ved@rivosinc.com> | 2023-10-29 15:40:26 -0500 |
commit | 37413c886516eb8044588e91ecc29345e288990c (patch) | |
tree | 2d6947a87afa8737839331ac2a07ff9aa2e2f6e8 | |
parent | 9a6c8eaca7ce91c8cec6907b90546a4ed5f8d07d (diff) | |
download | riscv-opcodes-37413c886516eb8044588e91ecc29345e288990c.zip riscv-opcodes-37413c886516eb8044588e91ecc29345e288990c.tar.gz riscv-opcodes-37413c886516eb8044588e91ecc29345e288990c.tar.bz2 |
Add Zabha AMO inst code points
-rw-r--r-- | unratified/rv_zabha | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/unratified/rv_zabha b/unratified/rv_zabha new file mode 100644 index 0000000..b3a6f79 --- /dev/null +++ b/unratified/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 |