vdivuq
Vector Divide Unsigned Quadword
vdivuq vD, vA, vB
Divides a 128-bit unsigned integer by a 128-bit unsigned integer.
Formerly listed on this site as divuq; the old address leads here.
Renamed to vdivuq, the name Power ISA v3.1C and binutils give this instruction; divuq is in neither. Its encoding was corrected to vdivuq's.
Encoding
Binary Layout
4
0:5
VRT
6:10
VRA
11:15
VRB
16:20
11
21:31
Operands
-
vD
Target -
vA
Dividend -
vB
Divisor
Example
vdivuq vd, va, vb
Related
More in VMX (AltiVec)
Reference
View in PowerISA v3.1C Specification ↗
OPF Power ISA v3.1C
Description
Divides a 128-bit unsigned integer (vA) by a 128-bit unsigned integer (vB), storing the 128-bit unsigned quotient in vD. It is a Vector Facility instruction that performs quadword division. If division by zero is attempted, the result is undefined.
Operation
vD ← vA ÷ vB (128-bit unsigned integer division)