3-678
INSTRUCTION SET REFERENCE
SUBSS—Scalar Single-FP Subtract
Description
The SUBSS instruction subtracts the lower SP FP numbers of both their operands.
Figure 3-94. Operation of the SUBSS Instruction
Operation
DEST[31-0] = DEST[31-0] - SRC/m32[31-0];
DEST[63-32] = DEST[63-32];
DEST[95-64] = DEST[95-64];
DEST[127-96] = DEST[127-96];
Intel C/C++ Compiler Intrinsic Equivalent
__m128 _mm_sub_ss(__m128 a, __m128 b)
Subtracts the lower SP FP values of a and b. The upper three SP FP values are passed through
from a.
Opcode
Instruction
Description
F3,0F,5C, /rSUBSS xmm1,
xmm2/m32
Subtract the lower SP FP numbers in XMM2/Mem from
XMM1.
Xmm1
Xmm1
SUBSS xmm1, xmm2/m32
Xmm2/
m32
=
-