RISC-V ISA Explorer · Vector Subsets (Zv/Zve)
Zvbb: Vector Bitmanip Base
Ratified 2023-09 · version 1.0.0
Bit-level operations on vector elements such as and-not, bit and byte reversal, zero counts, and rotations.
Typical use: Vectorized scalar Zbb ops
Open Zvbb in the explorerDependencies
Requires
Instructions (16)
| Mnemonic | Name | Encoding | Match | Mask |
|---|---|---|---|---|
VANDN.VV | Vector AND-NOT | 000001-----------000-----1010111 | 0x4000057 | 0xfc00707f |
VANDN.VX | Vector AND-NOT with scalar | 000001-----------100-----1010111 | 0x4004057 | 0xfc00707f |
VBREV.V | Vector bit reverse | 010010------01010010-----1010111 | 0x48052057 | 0xfc0ff07f |
VBREV8.V | Vector byte reverse within elements | 010010------01000010-----1010111 | 0x48042057 | 0xfc0ff07f |
VCLZ.V | Vector count leading zeros | 010010------01100010-----1010111 | 0x48062057 | 0xfc0ff07f |
VCPOP.V | Vector population count | 010010------01110010-----1010111 | 0x48072057 | 0xfc0ff07f |
VCTZ.V | Vector count trailing zeros | 010010------01101010-----1010111 | 0x4806a057 | 0xfc0ff07f |
VREV8.V | Vector byte reverse | 010010------01001010-----1010111 | 0x4804a057 | 0xfc0ff07f |
VROL.VV | Vector rotate left by vector | 010101-----------000-----1010111 | 0x54000057 | 0xfc00707f |
VROL.VX | Vector rotate left by scalar | 010101-----------100-----1010111 | 0x54004057 | 0xfc00707f |
VROR.VI | Vector rotate right by immediate | 01010------------011-----1010111 | 0x50003057 | 0xf800707f |
VROR.VV | Vector rotate right by vector | 010100-----------000-----1010111 | 0x50000057 | 0xfc00707f |
VROR.VX | Vector rotate right by scalar | 010100-----------100-----1010111 | 0x50004057 | 0xfc00707f |
VWSLL.VI | Vector widening shift left logical by immediate | 110101-----------011-----1010111 | 0xd4003057 | 0xfc00707f |
VWSLL.VV | Vector widening shift left logical by vector | 110101-----------000-----1010111 | 0xd4000057 | 0xfc00707f |
VWSLL.VX | Vector widening shift left logical by scalar | 110101-----------100-----1010111 | 0xd4004057 | 0xfc00707f |