xsrintqp
VSX Scalar Round to Integer Quad-Precision
xsrintqp vD, vB
Rounds Quad float to nearest Integer.
Details
Round the quad-precision floating-point value in VSR vB to the nearest integer, using the rounding mode specified in FPSCR[RN], and store the result in VSR vD. This is a VSX instruction. FPSCR is read for rounding mode and may have status flags updated (XX, ZX, etc.) depending on the rounding operation.
Pseudocode Operation
vD ← round_to_integer_qp(vB, FPSCR[RN])
FPSCR[FPCC, VXCVI, XX, ZX, ...] ← updated as per rounding
Example
xsrintqp vd, vb
Encoding
Binary Layout
63
0
vD
6
/
11
vB
16
484
21
/
31
Operands
-
vD
Target -
vB
Source