roundss

Round Scalar Single-Precision

ROUNDSS xmm1, xmm2/m32, imm8

Rounds low float according to immediate mode.

Details

The Round Scalar Single-Precision instruction rounds low float according to immediate mode.

Pseudocode Operation

// Rounds low float according to immediate mode

Example

ROUNDSS xmm1, xmm2/m32, 3

Encoding

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

Operands

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