VBREV8.V

Vector Byte Reverse

VBREV8.V vd, vs2, vm

Reverses the bits within each byte of the source elements.

Details

Reverses the bit or byte order within each vector element.

Pseudocode Operation

foreach(i < vl): vd[i] = reverse_bits_in_bytes(vs2[i]);

Example

VBREV8.V v1, v4, v0.t

Encoding

Binary Layout
010010
31:26
vm
25
vs2
24:20
01000
19:15
010
14:12
vd
11:7
1010111
6:0
 
Format OPIVV
Opcode 0x57
Extension Zvbb

Operands

  • vd
    Destination vector register
  • vs2
    Source vector register 2