divuq
Divide Unsigned Quadword
divuq vD, vA, vB
Divides a 128-bit unsigned integer by a 128-bit unsigned integer.
Details
Divides a 128-bit unsigned integer (vA) by a 128-bit unsigned integer (vB), storing the 128-bit unsigned quotient in vD. This is a VSX or MMA category instruction that performs quadword division. If division by zero is attempted, the result is undefined.
Pseudocode Operation
vD ← vA ÷ vB (128-bit unsigned integer division)
Example
divuq vd, va, vb
Encoding
Binary Layout
4
0
vD
6
vA
11
vB
16
9
21
Operands
-
vD
Target -
vA
Dividend -
vB
Divisor