aboutsummaryrefslogtreecommitdiff
path: root/unratified
diff options
context:
space:
mode:
authorbrs <turtwig@utexas.edu>2023-10-10 15:49:58 -0500
committerbrs <turtwig@utexas.edu>2023-10-18 19:10:00 -0500
commite826c5a9f16ccde6194695e62bed2daf5a50ea12 (patch)
tree077f219bb20610f2b2d09c28c8cdfc4d0238a414 /unratified
parent19e3ddcc323b809a8b71f9fb0998320e2ba95005 (diff)
downloadriscv-opcodes-e826c5a9f16ccde6194695e62bed2daf5a50ea12.zip
riscv-opcodes-e826c5a9f16ccde6194695e62bed2daf5a50ea12.tar.gz
riscv-opcodes-e826c5a9f16ccde6194695e62bed2daf5a50ea12.tar.bz2
Adding load-acquire/store-release. Note they are written here as `lb.` for the load-acquire byte (so `lb.aq` and `lb.aqrl`), I'm not sure that will work but it passes the tests here.
Diffstat (limited to 'unratified')
-rw-r--r--unratified/rv_zalasr8
1 files changed, 8 insertions, 0 deletions
diff --git a/unratified/rv_zalasr b/unratified/rv_zalasr
new file mode 100644
index 0000000..8e81b0f
--- /dev/null
+++ b/unratified/rv_zalasr
@@ -0,0 +1,8 @@
+lb. rd rs1 aq rl 31..27=6 24..20=0 14..12=0 6..2=0x0B 1..0=3
+lh. rd rs1 aq rl 31..27=6 24..20=0 14..12=1 6..2=0x0B 1..0=3
+lw. rd rs1 aq rl 31..27=6 24..20=0 14..12=2 6..2=0x0B 1..0=3
+ld. rd rs1 aq rl 31..27=6 24..20=0 14..12=3 6..2=0x0B 1..0=3
+sb. rs1 rs2 aq rl 31..27=7 14..12=0 11..7=0 6..2=0x0B 1..0=3
+sh. rs1 rs2 aq rl 31..27=7 14..12=1 11..7=0 6..2=0x0B 1..0=3
+sw. rs1 rs2 aq rl 31..27=7 14..12=2 11..7=0 6..2=0x0B 1..0=3
+sd. rs1 rs2 aq rl 31..27=7 14..12=3 11..7=0 6..2=0x0B 1..0=3