vextuwrx

Vector Extract Unsigned Word to GPR using GPR-specified Right-Index VX-form

vextuwrx VRT,RA,RB

Extracts an unsigned word from a vector register and places it into a general-purpose register.

Details

Extracts a 32-bit unsigned word from the vector register VRB using a right-index derived from the general-purpose register RA, and places the zero-extended result into the general-purpose register RT. The right index specifies the byte offset from the right end of the vector, and the extracted word is zero-extended to 64 bits before being stored in RT.

Pseudocode Operation

Not available in specification

Programming Note

Use vextuwrx to extract a 32-bit unsigned word from a vector register using a right-index specified by a GPR. Ensure the index is correctly calculated to avoid out-of-bounds access. The result is zero-extended to 64 bits before being stored in the target GPR.

Example

vextuwrx v1, r4, r5

Encoding

Binary Layout
000100
0
VRT
6
//
11
RA
16
10100
21
001100
26
 
Format VX-form
Opcode 0x1000050C
Extension VMX (AltiVec)

Operands

  • VRT
    Target Vector Register
  • RA
    Source General Purpose Register (index)
  • RB
    Source Vector Register