vminub
Vector Minimum Unsigned Byte
Selects minimum value per byte (unsigned).
Details
The vminub instruction compares each byte of two vector registers and stores the minimum value in the corresponding byte of a third vector register. The comparison is performed using unsigned integer values.
Pseudocode Operation
Programming Note
The vminub instruction is used to perform element-wise minimum comparison of unsigned bytes between two vector registers and store the results in a third register. Ensure that the Vector Facility (MSR.VEC) is enabled before using this instruction; otherwise, a Vector_Unavailable exception will be raised. The operation is straightforward but requires both source vectors to be properly aligned for optimal performance.
Example
Encoding
Operands
-
vD
Target -
vA
Src A -
vB
Src B