Zkn instructions
NIST Algorithm Suite
This extension is shorthand for the following set of other extensions:
ZbkbZbkcZbkxZkneZkndZknh
Extension description from riscv-unified-db, reformatted.
Specification chapter: The RISC-V Instruction Set Manual, src/unpriv/zk.adoc.
Instructions (45)
| Mnemonic | Name (riscv-unified-db) | XLEN |
|---|---|---|
aes32dsi | AES final round decryption instruction for RV32 | RV32 only |
aes32dsmi | AES middle round decryption instruction for RV32 | RV32 only |
aes32esi | No synopsis available | RV32 only |
aes32esmi | No synopsis available | RV32 only |
aes64ds | AES decrypt final round | RV64 only |
aes64dsm | AES decrypt middle round | RV64 only |
aes64es | AES encrypt final round | RV64 only |
aes64esm | AES encrypt middle round | RV64 only |
aes64im | AES Decrypt KeySchedule MixColumns | RV64 only |
aes64ks1i | AES Key Schedule Instruction 1 | RV64 only |
aes64ks2 | AES Key Schedule Instruction 2 | RV64 only |
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 |
sha256sig0 | No synopsis available | RV32 and RV64 |
sha256sig1 | No synopsis available | RV32 and RV64 |
sha256sum0 | No synopsis available | RV32 and RV64 |
sha256sum1 | No synopsis available | RV32 and RV64 |
sha512sig0 | No synopsis available | RV64 only |
sha512sig0h | No synopsis available | RV32 only |
sha512sig0l | No synopsis available | RV32 only |
sha512sig1 | No synopsis available | RV64 only |
sha512sig1h | No synopsis available | RV32 only |
sha512sig1l | No synopsis available | RV32 only |
sha512sum0 | No synopsis available | RV64 only |
sha512sum0r | No synopsis available | RV32 only |
sha512sum1 | No synopsis available | RV64 only |
sha512sum1r | No synopsis available | RV32 only |
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 |