vminuh
Vector Minimum Unsigned Halfword
Selects minimum value per halfword (unsigned).
Details
The vminuh instruction performs a vector minimum operation on unsigned halfwords. It compares each pair of corresponding halfwords from the source vectors VRA and VRB, selects the smaller value, and stores it in the destination vector VRT.
Pseudocode Operation
Programming Note
The vminuh instruction is used to perform element-wise minimum operations on unsigned halfwords from two source vectors. Ensure that the Vector Facility (VEC) bit in the Machine State Register (MSR) is set before using this instruction; otherwise, a Vector_Unavailable exception will be raised. The operation does not require any specific alignment for the data, but both source and destination vectors must be properly loaded into the vector registers VRA, VRB, and VRT respectively.
Example
Encoding
Operands
-
vD
Target -
vA
Src A -
vB
Src B