Intel 64 and IA-32 Architectures Software Developers Manual Volume 2A, Instruction Set Reference, A-M
Vol. 2 3-441
INSTRUCTION SET REFERENCE, A-M
HSUBPD—Packed Double-FP Horizontal Subtract
Description
The HSUBPD instruction subtracts horizontally the packed DP FP numbers of both
operands.
Subtracts the double-precision floating-point value in the high quadword of the desti-
nation operand from the low quadword of the destination operand and stores the
result in the low quadword of the destination operand.
Subtracts the double-precision floating-point value in the high quadword of the
source operand from the low quadword of the source operand and stores the result in
the high quadword of the destination operand. See Figure 3-12.
In 64-bit mode, use of the REX.R prefix permits this instruction to access additional
registers (XMM8-XMM15).
Opcode Instruction
64-Bit
Mode
Compat/
Leg Mode Description
66 0F 7D
/r
HSUBPD xmm1,
xmm2/m128
Valid Valid Horizontal subtract packed double-
precision floating-point values
from xmm2/m128 to xmm1.
Figure 3-12. HSUBPD—Packed Double-FP Horizontal Subtract
20
+68%3'[PP[PPP
[PP
[PP
P
>@>@
>@ >@
>@>@
5HVXOW
[PP
[PPP>@
[PPP>@
[PP>@[PP>@