xvcvdpsxds
VSX Vector Convert Double-Precision to Signed Doubleword for- mat XX2-form
Converts a double-precision floating-point value to a signed doubleword integer, rounding according to the current rounding mode.
Details
Converts two double-precision floating-point values in VSR[XB] to signed 64-bit integer format (doubleword) and places the results in VSR[XT]. Rounding is performed according to the current rounding mode in FPSCR. On overflow or invalid operation, the result is saturated to the maximum or minimum signed 64-bit integer.
Pseudocode Operation
Programming Note
xvcvdpsxds rounds using Round towards Zero rounding mode. For other rounding modes, software must use a Round to Double-Precision Integer instruction that corresponds to the desired rounding mode.
Example
Encoding
Operands
-
XT
Target -
XB
Source