C-11
COMPILER INTRINSICS AND FUNCTIONAL EQUIVALENTS
C.2.COMPOSITE INTRINSICS
Table C-2. Composite Intrinsics
Mnemonic
Intrinsic
Description
(composite)__m128 _mm_set_ps1(float w)
__m128_set1_ps(float w)
Sets the four SP FP values to w.
(composite)__m128 _mm_set_ps(float z, float y, float x, float w)Sets the four SP FP values to the four inputs.
(composite)__m128 _mm_setr_ps(float z, float y, float x, float w)Sets the four SP FP values to the four inputs in
reverse order.
(composite) __m128 _mm_setzero_ps(void)
Clears the four SP FP values.
MOVSS +
shuffle
__m128 _mm_load_ps1(float * p)
__m128 _mm_load1_ps(float *p)
Loads a single SP FP value, copying it into all
four words.
MOVAPS +
shuffle
__m128 _mm_loadr_ps(float * p)
Loads four SP FP values in reverse order. The
address must be 16-byte-aligned.
MOVSS +
shuffle
void _mm_store_ps1(float * p, __m128 a)
void _mm_store1_ps(float *p, __m128 a)
Stores the lower SP FP value across four
words.
MOVAPS +
shuffle
_mm_storer_ps(float * p, __m128 a)
Stores four SP FP values in reverse order. The
address must be 16-byte-aligned.