# ADDSS
# Add Scalar Single-Precision Floating-Point Values
Opcode | Mnemonic | Description |
---|---|---|
F3 0F 58 /r | ADDSS xmm1, xmm2/m32 | Add the low single-precision floating-point value from xmm2/m32 to xmm1. |
# Description
Adds the low single-precision floating-point values from the source operand (second operand) and the destination operand (first operand), and stores the single-precision floating-point result in the destination operand. The source operand can be an XMM register or a 32-bit memory location. The destination operand is an XMM register. The three high-order doublewords of the destination operand remain unchanged.
# Operation
Destination[0..31] = Destination[0..31] + Source[0..31];
//Destination[32..127] remain unchanged
1
2
3
2
3
# SIMD Floating-Point Exceptions
Overflow, Underflow, Invalid, Precision, Denormal.
# Protected Mode Exceptions
# Real-Address Mode Exceptions
# Virtual-8086 Mode Exceptions
Same exceptions as in Real Address Mode.
#PF(fault-code) | For a page fault. |
#PF(fault-code) | For a page fault. |
Instruction | Latency | Throughput | Execution Unit |
---|---|---|---|
CPUID | 0F3n/0F2n/069n | 0F3n/0F2n/069n | 0F2n |
ADDSS xmm, xmm | 5/4/3 | 2/2/1 | FP_ADD |