diff options
author | Neel Gala <neelgala@incoresemi.com> | 2022-04-08 17:53:54 +0530 |
---|---|---|
committer | Neel Gala <neelgala@incoresemi.com> | 2022-04-08 20:11:59 +0530 |
commit | 5c2670bd8fb784f479cfb56173e3cf77eec28bf4 (patch) | |
tree | c02dcf2b8fa8e9af65a4963900afdb61ec28e86d /rv64_zbb | |
parent | f2fd4900318db42d2c7ab9495645a161ef8de4fd (diff) | |
download | riscv-opcodes-5c2670bd8fb784f479cfb56173e3cf77eec28bf4.zip riscv-opcodes-5c2670bd8fb784f479cfb56173e3cf77eec28bf4.tar.gz riscv-opcodes-5c2670bd8fb784f479cfb56173e3cf77eec28bf4.tar.bz2 |
migrate Zbb-Extension opcodes
- aliases have been revised to use $pseudo_op syntax
- split the instructions into multiple files as per new file naming policy
- some pseudo ops depend on unratified instructions.
Diffstat (limited to 'rv64_zbb')
-rw-r--r-- | rv64_zbb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/rv64_zbb b/rv64_zbb new file mode 100644 index 0000000..fc19561 --- /dev/null +++ b/rv64_zbb @@ -0,0 +1,9 @@ +clzw rd rs1 31..20=0x600 14..12=1 6..2=0x06 1..0=3 +ctzw rd rs1 31..20=0x601 14..12=1 6..2=0x06 1..0=3 +cpopw rd rs1 31..20=0x602 14..12=1 6..2=0x06 1..0=3 +rolw rd rs1 rs2 31..25=0x30 14..12=1 6..2=0x0E 1..0=3 +rorw rd rs1 rs2 31..25=0x30 14..12=5 6..2=0x0E 1..0=3 +roriw rd rs1 31..25=0x30 shamtw 14..12=5 6..2=0x06 1..0=3 +rori rd rs1 31..26=0x18 shamt 14..12=5 6..2=0x04 1..0=3 +$pseudo_op rv64_zbe::packw zext.h rd rs1 31..25=0x04 24..20=0 14..12=0x4 6..2=0xE 1..0=0x3 +$pseudo_op rv64_zbp::grevi rev8 rd rs1 31..20=0x6B8 14..12=5 6..0=0x13 |