xvmindp
VSX Vector Minimum Double-Precision
Compares two double-precision floating-point values and selects the minimum value for each element.
Details
VSX Vector Minimum Double-Precision compares two double-precision floating-point elements from VSX registers XA and XB element-wise, selecting the minimum value for each element and storing results in VSX register XT. This VSX category instruction processes two 64-bit elements in parallel and follows IEEE 754 minimum semantics.
Pseudocode Operation
XT[0:63] ← min(XA[0:63], XB[0:63])
XT[64:127] ← min(XA[64:127], XB[64:127])
Programming Note
The xvmindp instruction is used to perform element-wise minimum comparison of double-precision floating-point values in VSX registers. Ensure that the input vectors are properly aligned and that the FPSCR register is correctly configured to handle exceptions like NaNs or infinities. This instruction operates at a privilege level that allows access to VSX registers, typically requiring supervisor or higher privileges.
Example
Encoding
Operands
-
XT
Target -
XA
Src A -
XB
Src B