xxspltib
VSX Vector Splat Immediate Byte
xxspltib XT, IMM
Copies an immediate byte value into each byte element of a vector register.
Details
The xxspltib instruction copies the immediate byte value IMM8 into each byte element of the vector register VSR[XT].
Pseudocode Operation
Programming Note
The xxspltib instruction is used to fill a VSX vector register with an immediate byte value. Ensure that the appropriate privilege level (VSX or Vector) is enabled in the MSR register, otherwise, it will raise an exception. This instruction is useful for initializing vectors with a constant value.
Example
xxspltib vs1, 1
Encoding
Binary Layout
60
0
XT
6
0
11
IMM
14
360
Operands
-
XT
Target -
IMM
Value -
IMM8
Immediate Byte Value