xxsplti32dx

VSX Vector Splat Immediate 32-bit Double Index

xxsplti32dx XT, IX, IMM

Splats a 32-bit immediate into a doubleword index.

Details

The xxsplti32dx instruction is used to replicate a 32-bit immediate value into each element of a VSX vector register. The immediate value is specified by the instruction's fields, and it is duplicated across all elements of the destination vector.

Pseudocode Operation

VR[D] ← {imm32, imm32, imm32, imm32}

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
 
Format 8RR:D-form
Opcode 0xF0000000
Extension VSX

Operands

  • XT
    Target
  • IX
    Index
  • IMM
    Value