xxsplti32dx
VSX Vector Splat Immediate 32-bit Double Index
xxsplti32dx XT, IX, IMM
Splats a 32-bit immediate into a doubleword index.
Details
Splats a sign-extended 32-bit immediate value into the doubleword at index IX within VSR XT. IX selects either the upper (0) or lower (1) doubleword; the 32-bit immediate is sign-extended to 64 bits and replicated. This is a VSX instruction that does not update condition flags.
Pseudocode Operation
imm64 ← SignExtend(IMM, 32)
if IX = 0 then
XT[0:63] ← imm64
else
XT[64:127] ← imm64
Programming Note
Use xxsplti32dx to initialize a VSX vector with a repeated 32-bit immediate value. Ensure the immediate value fits within 32 bits; otherwise, it will be truncated. This instruction is available in all privilege levels and does not raise exceptions for valid inputs.
Example
xxsplti32dx vs1, 0, 1
Encoding
Binary Layout
60
0
XT
6
IX
11
IMM
12
Operands
-
XT
Target -
IX
Index -
IMM
Value