roundpd
Round Packed Double-Precision
ROUNDPD xmm1, xmm2/m128, imm8
Rounds all packed doubles according to immediate mode.
Details
The Round Packed Double-Precision instruction rounds all packed doubles according to immediate mode.
Pseudocode Operation
// Rounds all packed doubles according to immediate mode
Example
ROUNDPD xmm1, xmm2/m128, 3
Encoding
Binary Layout
66
+0
0F
+1
3A
+2
09
+3
Operands
-
dest
128-bit XMM SIMD register -
src1
128-bit XMM SIMD register or Memory operand -
src2
8-bit signed immediate