Zks instructions
ShangMi Algorithm Suite
This extension is shorthand for the following set of other extensions:
ZbkbZbkcZbkxZksedZksh
Extension description from riscv-unified-db, reformatted.
Specification chapter: The RISC-V Instruction Set Manual, src/unpriv/zk.adoc.
Instructions (24)
| Mnemonic | Name (riscv-unified-db) | XLEN |
|---|---|---|
andn | AND with inverted operand | RV32 and RV64 |
brev8 | Reverse bits in bytes | RV32 and RV64 |
clmul | Carry-less multiply (low-part) | RV32 and RV64 |
clmulh | Carry-less multiply (high-part) | RV32 and RV64 |
orn | OR with inverted operand | RV32 and RV64 |
pack | No synopsis available | RV32 and RV64 |
packh | No synopsis available | RV32 and RV64 |
packw | No synopsis available | RV64 only |
rev8 | Byte-reverse register (RV64 encoding) | RV32 and RV64 |
rol | Rotate left (Register) | RV32 and RV64 |
rolw | Rotate left word (Register) | RV64 only |
ror | Rotate right (Register) | RV32 and RV64 |
rori | Rotate right (Immediate) | RV32 and RV64 |
roriw | Rotate right word (Immediate) | RV64 only |
rorw | Rotate right word (Register) | RV64 only |
sm3p0 | No synopsis available | RV32 and RV64 |
sm3p1 | No synopsis available | RV32 and RV64 |
sm4ed | No synopsis available | RV32 and RV64 |
sm4ks | No synopsis available | RV32 and RV64 |
unzip | Bit deinterleave | RV32 only |
xnor | Exclusive NOR | RV32 and RV64 |
xperm4 | Crossbar permutation (nibbles) | RV32 and RV64 |
xperm8 | Crossbar permutation (bytes) | RV32 and RV64 |
zip | Bit interleave | RV32 only |