xvcvspsxds
Vector Convert with round to zero Single-Precision to Signed Doubleword format XX2-form
Converts single-precision floating-point values in a vector to signed doublewords, rounding towards zero.
Details
Converts single-precision floating-point values in VSR[XB] to signed 64-bit integer format (doubleword) and places the results in VSR[XT], rounding towards zero (truncation). Only the first two single-precision elements are converted; results are placed in the two doubleword elements of the target.
Pseudocode Operation
Programming Note
xvcvspsxds rounds using Round towards Zero rounding mode. For other rounding modes, software must use a Round to Single-Precision Integer instruction that corresponds to the desired rounding mode, including xvrspic which uses the rounding mode specified by RN.
Example
Encoding
Operands
-
XT
Target -
XB
Source