xscmpudp
VSX Scalar Compare Unordered Double-Precision
Compares two double-precision floating-point values and sets the condition register based on the comparison.
Details
The instruction compares the double-precision floating-point value in doubleword element 0 of VSR[XA] with the double-precision floating-point value in doubleword element 0 of VSR[XB]. The result is placed into CR field BF and the FPCC. If either operand is a NaN, VXSNAN is set.
Pseudocode Operation
Programming Note
['This instruction can be used to operate on single-precision source operands.', 'Previous versions of the architecture allowed the contents of doubleword 1 of the result register to be undefined. However, all processors that support this instruction write 0s into doubleword 1 of the result register.']
Example
Encoding
Operands
-
BF
CR Field -
XA
Src A -
XB
Src B -
VS32
Target Vector Register