vadduqm
Vector Add Unsigned Quadword Modulo
vadduqm vD, vA, vB
Adds the contents of two vector registers and updates the destination register with the result modulo 2^128.
Details
For vadduqm, the sum of the contents of vector registers VRA and VRB is placed into vector register VRT. The operation is performed modulo 2^128.
Pseudocode Operation
Programming Note
This instruction is used for adding two 128-bit unsigned integers stored in vector registers modulo 2^128. Ensure that the Vector Facility (VEC) bit in the Machine State Register (MSR) is set to 1; otherwise, a Vector_Unavailable exception will be raised. The operation does not require any specific alignment for the data being processed.
Example
vadduqm vd, va, vb
Encoding
Binary Layout
4
0
vD
6
vA
11
vB
16
256
Operands
-
vD
Target -
vA
Src A -
vB
Src B -
VRT
Target Vector Register -
VRA
Source Vector Register -
VRB
Source Vector Register