vmulouw

Vector Multiply Odd Unsigned Word

vmulouw vD, vA, vB

Multiplies the 1st and 3rd words of the source vectors to produce two 64-bit results.

Details

The Vector Multiply Odd Unsigned Word instruction multiplies the unsigned integers in the odd-numbered word elements of two source vectors and stores the 64-bit products in the corresponding doubleword elements of a destination vector.

Pseudocode Operation

vD.dword[0] <- vA.word[1] * vB.word[1]; vD.dword[1] <- vA.word[3] * vB.word[3]

Programming Note

This instruction is useful for performing element-wise multiplication of unsigned integers stored in odd-numbered positions of two vectors. Ensure that the input vectors are properly aligned to avoid alignment faults. The result is a vector with doubleword elements, so be mindful of potential overflow if the product exceeds 64 bits.

Example

vmulouw v1, v2, v3

Encoding

Binary Layout
4
0
vD
6
vA
11
vB
16
128
21
 
Format VA-form
Opcode 0x10000080
Extension VMX (AltiVec)

Operands

  • vD
    Target
  • vA
    Source A
  • vB
    Source B