vspltish
Vector Splat Immediate Signed Halfword
Fills vector with immediate 5-bit signed value.
Details
The vspltish instruction splats an immediate signed halfword value across all elements of a vector register. It sign-extends the SIM field to 16 bits and replicates this value in each halfword element of the target vector register.
Pseudocode Operation
Programming Note
The vspltish instruction is used to replicate a signed halfword value across all elements of a vector register. Ensure that the Vector Facility (MSR.VEC) is enabled before using this instruction; otherwise, it will raise an exception. The immediate value is sign-extended to 16 bits and then replicated in each halfword element of the target vector register.
Example
Encoding
Operands
-
vD
Target -
SIM
Immediate