vbrq

Vector Byte-Reverse Quadword

vbrq vD, vB

Reverses bytes within the entire 128-bit quadword.

Details

Reverses the byte order across the entire 128-bit quadword of the source vector and stores the result in the destination vector. This is a single whole-vector operation. No condition flags are affected; this is a VMX/AltiVec instruction.

Pseudocode Operation

vD[0:127] ← vB[120:127] || vB[112:119] || vB[104:111] || vB[96:103] || vB[88:95] || vB[80:87] || vB[72:79] || vB[64:71] || vB[56:63] || vB[48:55] || vB[40:47] || vB[32:39] || vB[24:31] || vB[16:23] || vB[8:15] || vB[0:7]

Example

vbrq vd, vb

Encoding

Binary Layout
4
0
vD
6
0
11
vB
16
1798
21
 
Format VX-form
Opcode 0x10000706
Extension VMX (AltiVec)

Operands

  • vD
    Target
  • vB
    Source