xxsplti32dx
VSX Vector Splat Immediate 32-bit Double Index
xxsplti32dx XT, IX, IMM
Splats a 32-bit immediate into a doubleword index.
Encoding
Binary Layout
1
0:5
1
6:7
0
8:11
/
12:13
/
14:15
imm0
16:31
32
32:37
T
38:42
0
43:45
IX
46
TX
47
imm1
48:63
Operands
-
XT
Target -
IX
Index -
IMM
Value
Example
xxsplti32dx vs1, 0, 1
Related
More in VSX
Reference
View in PowerISA v3.1C Specification ↗
OPF Power ISA v3.1C
Description
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.
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.