Developer Guide and Reference

Contents

Arithmetic Intrinsics

Intel® Streaming SIMD Extensions 2 (Intel® SSE2) intrinsics for floating-point arithmetic operations are listed in this topic. The prototypes for Intel® SSE2 intrinsics are in the
emmintrin.h
header file.
To use these intrinsics, include the
immintrin.h
file as follows:
#include <immintrin.h>
The results of each intrinsic operation are placed in a register. The information about what is placed in each register appears in the tables below, in the detailed explanation for each intrinsic. For each intrinsic, the resulting register is represented by
R0
and
R1
, where
R0
and
R1
each represent one piece of the result register.
Intrinsic Name
Operation
Corresponding
Intel® SSE2 Instruction
_mm_add_sd
Addition
ADDSD
_mm_add_pd
Addition
ADDPD
_mm_sub_sd
Subtraction
SUBSD
_mm_sub_pd
Subtraction
SUBPD
_mm_mul_sd