vdivesd
Vector Divide Extended Signed Doubleword
Performs extended signed doubleword division on vector elements.
Details
For vdivesd, each element of the source vectors VRA and VRB is treated as a signed doubleword. The dividend is shifted left by 64 bits, then divided by the divisor. The quotient is placed into the corresponding element of the destination vector VRT.
Pseudocode Operation
Programming Note
This instruction is used for performing extended signed doubleword division on vector elements. Ensure that the Vector Facility (MSR.VEC) is enabled before using this instruction; otherwise, a Vector_Unavailable exception will be raised. The operation involves shifting each dividend left by 64 bits and then dividing it by the corresponding divisor, with the quotient being stored in the destination vector. Be cautious of potential division by zero errors, which may result in undefined behavior or exceptions.
Example
Encoding
Operands
-
VRT
Destination Vector Register -
VRA
Source Vector Register -
VRB
Source Vector Register