vextractd
Vector Extract Doubleword
Extracts a doubleword from a vector into a GPR.
Details
The vextractd instruction extracts a doubleword (8 bytes) from the source vector register specified by VRB and places it into the destination vector register specified by VRT. The extraction starts at the byte index specified by UIM. If UIM is greater than 8, the results are undefined.
Pseudocode Operation
Programming Note
The vextractd instruction is used to extract an 8-byte doubleword from a source vector register into the destination vector register, starting at a specified byte index. Ensure that the MSR.VEC bit is set to enable vector operations; otherwise, a Vector_Unavailable exception will be raised. Be cautious with the UIM index; if it exceeds 8, the results are undefined. The destination register's second doubleword is zeroed out.
Example
Encoding
Operands
-
RA
Target GPR -
vB
Source Vector -
UIM
Index