xsrintqp
VSX Scalar Round to Integer Quad-Precision
xsrintqp vD, vB
Rounds Quad float to nearest Integer.
Encoding
Binary Layout
63
0:5
vD
6:10
/
11:15
vB
16:20
484
21:30
/
31
Operands
-
vD
Target -
vB
Source
Example
xsrintqp vd, vb
Related
More in VSX
Reference
View in PowerISA v3.1C Specification ↗
OPF Power ISA v3.1C
Description
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.
Operation
vD ← round_to_integer_qp(vB, FPSCR[RN])
FPSCR[FPCC, VXCVI, XX, ZX, ...] ← updated as per rounding