beautypg.com

Addsubps-packed single-fp add/subtract, Addsubps—packed single-fp add/subtract – Intel 253666-024US User Manual

Page 95

background image

Vol. 2A 3-49

INSTRUCTION SET REFERENCE, A-M

ADDSUBPS—Packed Single-FP Add/Subtract

ADDSUBPS—Packed Single-FP Add/Subtract

Description

Adds odd-numbered single-precision floating-point values of the source operand
(second operand) with the corresponding single-precision floating-point values from
the destination operand (first operand); stores the result in the odd-numbered
values of the destination operand.
Subtracts the even-numbered single-precision floating-point values in the source
operand from the corresponding single-precision floating values in the destination
operand; stores the result into the even-numbered values of the destination
operand.
The source operand can be a 128-bit memory location or an XMM register. The desti-
nation operand is an XMM register. See Figure 3-4.

In 64-bit mode, using a REX prefix in the form of REX.R permits this instruction to
access additional registers (XMM8-XMM15).

Opcode

Instruction

64-Bit

Mode

Compat/

Leg Mode

Description

F2 0F D0 /r

ADDSUBPS xmm1, xmm2/m128 Valid

Valid

Add/subtract single-

precision floating-

point values from

xmm2/m128 to

xmm1.

Figure 3-4. ADDSUBPS—Packed Single-FP Add/Subtract

20

$''68%36[PP[PPP

5(68/7
[PP

[PP
P

[PP>@

[PPP>@

>@

[PP>@

[PPP>@

>@

[PP>@[PP

P>@

>@

[PP>@

[PPP>@

>@

>@

>@

>@

>@