roundsd

Round Scalar Double-Precision

ROUNDSD xmm1, xmm2/m64, imm8

Rounds low double according to immediate mode.

Details

The Round Scalar Double-Precision instruction rounds low double according to immediate mode.

Pseudocode Operation

// Rounds low double according to immediate mode

Example

ROUNDSD xmm1, xmm2/m64, 3

Encoding

Binary Layout
66
+0
0F
+1
3A
+2
0B
+3
 
Format SSE4.1
Opcode 66 0F 3A 0B
Extension SSE4.1

Operands

  • dest
    128-bit XMM SIMD register
  • src1
    128-bit XMM SIMD register or Memory operand
  • src2
    8-bit signed immediate