Developer Guide and Reference

Contents

Set Intrinsics

The prototypes for Intel® Streaming SIMD Extensions (Intel® SSE) intrinsics for set operations are in the
xmmintrin.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 registers. The information about what is placed in each register appears in the tables below, in the detailed explanation of each intrinsic. R0, R1, R2, and R3 represent the registers in which results are placed.
Intrinsic Name
Operation
Corresponding
Intel® SSE Instruction
_mm_set_ss
Set the low value and clear the three high values
Composite
_mm_set1_ps
Set all four words with the same value
Composite
_mm_set_ps
Set four values, address aligned
Composite
_mm_setr_ps
Set four values, in reverse order
Composite
_mm_setzero_ps
Clear all four values
Composite

_mm_set_ss

__m128 _mm_set_ss(float w);