Compartir a través de


Miscellaneous Instructions That Use Streaming SIMD Extensions

Microsoft Specific

The following table lists miscellaneous intrinsics and their descriptions.

SSE intrinsics use the __m128, __m128i, and __m128d data types, which are not supported on Itanium Processor Family (IPF) processors. Any SSE intrinsics that use the __m64 data type are not supported on x64 processors.

The header files xmmintrin.h and intrin.h contain the declarations for the SSE intrinsics.

Miscellaneous Intrinsics

Intrinsic name

Operation

Corresponding instruction

Header file

_mm_shuffle_ps

Shuffles

SHUFPS

xmmintrin.h

_mm_shuffle_pi16

Shuffles

PSHUFW

xmmintrin.h

_mm_unpackhi_ps

Unpacks high

UNPCKHPS

xmmintrin.h

_mm_unpacklo_ps

Unpacks low

UNPCKLPS

xmmintrin.h

_mm_loadh_pi

Loads high

MOVHPS reg, mem

xmmintrin.h

_mm_storeh_pi

Stores high

MOVHPS mem, reg

xmmintrin.h

_mm_movehl_ps

Moves high to low

MOVHLPS

xmmintrin.h

_mm_movelh_ps

Moves low to high

MOVLHPS

xmmintrin.h

_mm_loadl_pi

Loads low

MOVLPS reg, mem

xmmintrin.h

_mm_storel_pi

Stores low

MOVLPS mem, reg

xmmintrin.h

_mm_movemask_ps

Creates four-bit mask

MOVMSKPS

xmmintrin.h

_mm_getcsr

Returns register contents

STMXCSR

xmmintrin.h

_mm_setcsr

Sets control register

LDMXCSR

xmmintrin.h

_mm_extract_si64, _mm_extracti_si64

Extracts bits

EXTRQ

intrin.h

_mm_insert_si64, _mm_inserti_si64

Inserts bits

INSERTQ

intrin.h

For an explanation of the syntax that is used in these intrinsic topics, see Floating-Point Intrinsics Using Streaming SIMD Extensions.

See Also

Reference

Streaming SIMD Extensions (SSE)