xxbrq

VSX Vector Byte-Reverse Quadword

xxbrq XT, XB

Reverses bytes within the entire 128-bit quadword.

Formerly listed on this site as vbrq; the old address leads here. Renamed to xxbrq, the name Power ISA v3.1C and binutils give this instruction; vbrq is in neither. Its encoding was corrected to xxbrq's.

Encoding

Binary Layout
60
0:5
T
6:10
31
11:15
B
16:20
475
21:29
BX
30
TX
31
 
Format XX2-form
Opcode 0xF01F076C
Extension VSX

Operands

  • XT
    Target
  • XB
    Source

Example

xxbrq vs1, vs3

Related

More in VSX

Reference

Description

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 VSX instruction.

Operation

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