vpksdss
Vector Pack Signed Doubleword Signed Saturate
vpksdss VRT,VRA,VRB
Packs signed doublewords from two vector registers into a single vector register with signed saturation.
Details
The instruction packs the contents of VSR[VRA+32] and VSR[VRB+32] into VSR[VRT+32], saturating signed values if they exceed the range of a 32-bit integer.
Pseudocode Operation
Programming Note
This instruction is useful for packing two 64-bit signed integers into a single 128-bit vector, with saturation applied to handle overflow. Ensure that the input vectors are correctly aligned and that the VSCR.SAT flag is checked after execution to determine if any values were saturated. This operation requires vector processing privileges.
Example
vpksdss v1, v2, v3
Encoding
Binary Layout
0
0
VRT
6
VRA
11
VRB
16
1486
Operands
-
VRT
Target Vector Register -
VRA
Source Vector Register -
VRB
Source Vector Register