vsubudm
Vector Subtract Unsigned Doubleword Modulo
Subtracts the contents of two vector registers and places the result in a third vector register, modulo operation.
Details
The Vector Subtract Unsigned Doubleword Modulo instruction subtracts each unsigned doubleword element from the corresponding element in another vector, modulo 2^64. The result is placed into a destination vector.
Pseudocode Operation
Programming Note
This instruction is used for performing unsigned doubleword subtraction with modulo arithmetic. 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 on each pair of elements from two source vectors, and the results are stored in the destination vector. Be cautious with alignment as it may affect performance or cause exceptions if not properly managed.
Example
Encoding
Operands
-
vD
Target -
vA
Src A -
vB
Src B -
VRT
Target Vector Register -
VRA
Source Vector Register -
VRB
Source Vector Register