Specifications

Intel
®
64 and IA-32 Architectures Software Developer’s Manual Documentation Changes 173
Documentation Changes
Instruction Operand Encoding
...
ROUNDPD — Round Packed Double Precision Floating-Point Values
Instruction Operand Encoding
...
ROUNDPS — Round Packed Single Precision Floating-Point Values
Instruction Operand Encoding
...
Op/En Operand 1 Operand 2 Operand 3 Operand 4
ANA NA NA NA
B imm16 NA NA NA
Opcode* Instruction Op/
En
64-Bit
Mode
Compat/
Leg Mode
Description
66 0F 3A 09 /r
ib
ROUNDPD xmm1,
xmm2/m128,
imm8
A Valid Valid Round packed double
precision floating-point
values in xmm2/m128 and
place the result in xmm1.
The rounding mode is
determined by imm8.
Op/En Operand 1 Operand 2 Operand 3 Operand 4
A ModRM:reg (w) ModRM:r/m (r) imm8 NA
Opcode* Instruction Op/
En
64-Bit
Mode
Compat/
Leg Mode
Description
66 0F 3A 08
/r ib
ROUNDPS xmm1,
xmm2/m128,
imm8
AValid Valid Round packed single
precision floating-point
values in xmm2/m128 and
place the result in xmm1.
The rounding mode is
determined by imm8.
Op/En Operand 1 Operand 2 Operand 3 Operand 4
A ModRM:reg (w) ModRM:r/m (r) imm8 NA