3-552
INSTRUCTION SET REFERENCE
PSLLW/PSLLD/PSLLQ—Packed Shift Left Logical (Continued)
Intel C/C++ Compiler Intrinsic Equivalents
Pre-4.0 Intel C/C++ Compiler intrinsic:
__m64 _m_psllw (__m64 m, __m64 count)
Version 4.0 and later Intel C/C++ Compiler intrinsic:
__m64 _mm_sll_pi16 (__m64 m, __m64 count)
Shifts four 16-bit values in m left the amount specified by count while shifting in zeroes.
Pre-4.0 Intel C/C++ Compiler intrinsic:
__m64 _m_psllwi (__m64 m, int count)
Version 4.0 and later Intel C/C++ Compiler intrinsic:
__m64 _mm_slli_pi16 (__m64 m, int count)
Shifts four 16-bit values in m left the amount specified by count while shifting in zeroes. For the
best performance, count should be a constant.
Pre-4.0 Intel C/C++ Compiler intrinsic:
__m64 _m_pslld (__m64 m, __m64 count)
Version 4.0 and later Intel C/C++ Compiler intrinsic:
__m64 _mm_sll_pi32 (__m64 m, __m64 count)
Shifts two 32-bit values in m left the amount specified by count while shifting in zeroes.
Pre-4.0 Intel C/C++ Compiler intrinsic:
__m64 _m_pslldi (__m64 m, int count)
Shifts two 32-bit values in m left the amount specified by count while shifting in zeroes. For the
best performance, count should be a constant.
Pre-4.0 Intel C/C++ Compiler intrinsic:
__m64 _m_psllq (__m64 m, __m64 count)
Version 4.0 and later Intel C/C++ Compiler intrinsic:
__m64 _mm_sll_si64 (__m64 m, __m64 count)
Shifts the 64-bit value in m left the amount specified by count while shifting in zeroes.