vminuw
Vector Minimum Unsigned Word
Selects minimum value per word (unsigned).
Details
Selects the minimum unsigned value for each corresponding word pair from vA and vB, storing the results in vD. This is a vector operation that performs 4 independent word-wise minimum comparisons in parallel. No condition flags or status fields are affected.
Pseudocode Operation
for i in 0 to 3 do
vD[32*i:32*i+31] ← MIN_UNSIGNED(vA[32*i:32*i+31], vB[32*i:32*i+31])
end for
Programming Note
The vminuw instruction is used to perform element-wise minimum operations on unsigned words from two vectors. Ensure that the Vector Facility (MSR.VEC) is enabled before using this instruction; otherwise, a Vector_Unavailable exception will be raised. The operation is performed in parallel across four elements per vector register.
Example
Encoding
Operands
-
vD
Target -
vA
Src A -
vB
Src B