Developer Guide and Reference

Contents

Load Intrinsics

Intel® Streaming SIMD Extensions 2 (Intel® SSE2) intrinsics for floating-point load 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 load and set operations are similar in that both initialize
__m128d
data. However, the set operations take a double argument and are intended for initialization with constants, while the load operations take a double pointer argument and are intended to mimic the instructions for loading data from memory.
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_load_pd
Loads two DP FP values
MOVAPD
_mm_load1_pd
Loads a single DP FP value, copying to both elements
MOVSD
+ shuffling
_mm_loadr_pd
Loads two DP FP values in reverse order
MOVAPD
+ shuffling
_mm_loadu_pd
Loads two DP FP values
MOVUPD