Arithmetic Operations (Floating Point)
Microsoft Specific
The operations listed in the following table are followed by descriptions of each intrinsic.
SSE2 intrinsics use the __m128, __m128i, and __m128d data types, which are not supported on Itanium Processor Family (IPF) processors. Any SSE2 intrinsics that use the __m64 data type are not supported on x64 processors.
The emmintrin.h header file contains the declarations for the SSE2 instructions intrinsics.
Arithmetic Operation Intrinsics
Intrinsic name |
Corresponding instruction |
Operation |
R0 value |
R1 value |
---|---|---|---|---|
ADDSD |
Adds |
|
|
|
ADDPD |
Adds |
|
|
|
DIVSD |
Divides |
|
|
|
DIVPD |
Divides |
|
|
|
MAXSD |
Computes maximum |
|
|
|
MAXPD |
Computes maximum |
|
|
|
MINSD |
Computes minimum |
|
|
|
MINPD |
Computes minimum |
|
|
|
MULSD |
Multiplies |
|
|
|
MULPD |
Multiplies |
|
|
|
SQRTSD |
Computes square root |
|
|
|
SQRTPD |
Computes square root |
|
|
|
SUBSD |
Subtracts |
|
|
|
SUBPD |
Subtracts |
|
|
For an explanation of the syntax used in code samples in this topic, see Floating-Point Intrinsics Using Streaming SIMD Extensions.
See Also
Reference
Floating-Point Intrinsics Using Streaming SIMD Extensions 2 Instructions