aboutsummaryrefslogtreecommitdiff
path: root/rv32_zbs
diff options
context:
space:
mode:
authorNeel Gala <neelgala@incoresemi.com>2022-04-08 17:56:28 +0530
committerNeel Gala <neelgala@incoresemi.com>2022-04-08 20:11:59 +0530
commit5e7610c70fe8afaa5dadbc249e9f77117ee30e32 (patch)
tree63b8cb9164a73daa802962749e08c9cfc9e0d8c3 /rv32_zbs
parent7cc95c1fd39fb5596718e6c3211f7dbc84c19322 (diff)
downloadriscv-opcodes-5e7610c70fe8afaa5dadbc249e9f77117ee30e32.zip
riscv-opcodes-5e7610c70fe8afaa5dadbc249e9f77117ee30e32.tar.gz
riscv-opcodes-5e7610c70fe8afaa5dadbc249e9f77117ee30e32.tar.bz2
migrate Zbs-Extension opcodes
- split instructions as per new file naming policy - here the 32-bit ops are considered pseudo_ops of the 64-bit equivalents as they only differ in one-bit.
Diffstat (limited to 'rv32_zbs')
-rw-r--r--rv32_zbs5
1 files changed, 5 insertions, 0 deletions
diff --git a/rv32_zbs b/rv32_zbs
new file mode 100644
index 0000000..14ac441
--- /dev/null
+++ b/rv32_zbs
@@ -0,0 +1,5 @@
+$pseudo_op rv64_zbs::bclri bclri rd rs1 31..25=0x24 shamtw 14..12=1 6..2=0x04 1..0=3
+$pseudo_op rv64_zbs::bexti bexti rd rs1 31..25=0x24 shamtw 14..12=5 6..2=0x04 1..0=3
+$pseudo_op rv64_zbs::binvi binvi rd rs1 31..25=0x34 shamtw 14..12=1 6..2=0x04 1..0=3
+$pseudo_op rv64_zbs::bseti bseti rd rs1 31..25=0x14 shamtw 14..12=1 6..2=0x04 1..0=3
+