Vol. 2A 3-449
INSTRUCTION SET REFERENCE, A-M
HSUBPS—Packed Single-FP Horizontal Subtract
HSUBPS—Packed Single-FP Horizontal Subtract
Description
Subtracts the single-precision floating-point value in the second dword of the desti-
nation operand from the first dword of the destination operand and stores the result
in the first dword of the destination operand.
Subtracts the single-precision floating-point value in the fourth dword of the destina-
tion operand from the third dword of the destination operand and stores the result in
the second dword of the destination operand.
Subtracts the single-precision floating-point value in the second dword of the source
operand from the first dword of the source operand and stores the result in the third
dword of the destination operand.
Subtracts the single-precision floating-point value in the fourth dword of the source
operand from the third dword of the source operand and stores the result in the
fourth dword of the destination operand.
See Figure 3-13.
Opcode Instruction 64-Bit
Mode
Compat/
Leg Mode
Description
F2 0F 7D /r HSUBPS xmm1,
xmm2/m128
Valid Valid Horizontal subtract packed single-
precision floating-point values from
xmm2/m128 to xmm1.