HSUBPS
Usage: HSUBPS dest,src Modifies flags: None
Subtract horizontally packed SP FP numbers from 'src' to 'dest' stores the result in 'dest'.
Packed Single-FP Horizontal Subtract
HSUBPS xmm1,xmm2/mem128 ; F2 0F 7D /r [Pent4]
HSUBPS subtracts the single-precision floating-point value in the second dword of the 'dest' operand from the first dword of the 'dest' operand and stores the result in the first dword of the 'dest' operand. Subtracts the single-precision floating-point value in the fourth dword of the 'dest' operand from the third dword of the 'dest' operand and stores the result in the second dword of the 'dest' operand. Subtracts the single-precision floating-point value in the second dword of the 'src' operand from the first dword of the 'src' operand and stores the result in the third dword of the 'dest' operand. Subtracts the single-precision floating-point value in the fourth dword of the 'src' operand from the third dword of the 'src' operand and stores the result in the fourth dword of the dest' operand.
When the source operand is a memory operand, it must be aligned on a 16-byte boundary or a general-protection exception (#GP) will be generated.
xmm1[31-0] = xmm1[31-0] - xmm1[63-32];
xmm1[63-32] = xmm1[95-64] - xmm1[127-96];
xmm1[95-64] = xmm2/m128[31-0] - xmm2/m128[63-32];
xmm1[127-96] = xmm2/m128[95-64] - xmm2/m128[127-96]
EXAMPLE:
hsubps xmm1 xmm2