vmulhud
Vector Multiply High Unsigned Doubleword
Multiplies unsigned doublewords, returning the high 64 bits.
Details
The vmulhud instruction multiplies each unsigned doubleword element from two source vectors and stores the high-order 64 bits of the resulting 128-bit product into corresponding elements of a destination vector.
Pseudocode Operation
Programming Note
The vmulhud instruction is used for high-precision multiplication of unsigned doublewords. Ensure that the Vector Facility (MSR.VEC) is enabled; otherwise, a Vector_Unavailable exception will be raised. This instruction processes each pair of elements from two source vectors and stores the upper 64 bits of their product in the destination vector. Be cautious with alignment as unaligned access can lead to exceptions.
Example
Encoding
Operands
-
vD
Target -
vA
Src A -
vB
Src B