MMX-Compare-XMM#
_mm_cmpeq_pi8#
- Tech:
MMX
- Category:
Compare
- Header:
mmintrin.h
- Searchable:
MMX-Compare-XMM
- Register:
XMM 128 bit
- Return Type:
__m64
- Param Types:
__m64 a, __m64 b
- Param ETypes:
UI8 a, UI8 b
__m64 _mm_cmpeq_pi8(__m64 a, __m64 b);
Intel Description
Compare packed 8-bit integers in “a” and “b” for equality, and store the results in “dst”.
Deprecated since version X87: MMX technology intrinsics can cause issues on modern processors and should generally be avoided. Use SSE2, AVX, or later instruction sets instead, especially when targeting modern processors.
Intel Implementation Psudeo-Code
FOR j := 0 to 7
i := j*8
dst[i+7:i] := ( a[i+7:i] == b[i+7:i] ) ? 0xFF : 0
ENDFOR
_mm_cmpeq_pi16#
- Tech:
MMX
- Category:
Compare
- Header:
mmintrin.h
- Searchable:
MMX-Compare-XMM
- Register:
XMM 128 bit
- Return Type:
__m64
- Param Types:
__m64 a, __m64 b
- Param ETypes:
UI16 a, UI16 b
__m64 _mm_cmpeq_pi16(__m64 a, __m64 b);
Intel Description
Compare packed 16-bit integers in “a” and “b” for equality, and store the results in “dst”.
Deprecated since version X87: MMX technology intrinsics can cause issues on modern processors and should generally be avoided. Use SSE2, AVX, or later instruction sets instead, especially when targeting modern processors.
Intel Implementation Psudeo-Code
FOR j := 0 to 3
i := j*16
dst[i+15:i] := ( a[i+15:i] == b[i+15:i] ) ? 0xFFFF : 0
ENDFOR
_mm_cmpeq_pi32#
- Tech:
MMX
- Category:
Compare
- Header:
mmintrin.h
- Searchable:
MMX-Compare-XMM
- Register:
XMM 128 bit
- Return Type:
__m64
- Param Types:
__m64 a, __m64 b
- Param ETypes:
UI32 a, UI32 b
__m64 _mm_cmpeq_pi32(__m64 a, __m64 b);
Intel Description
Compare packed 32-bit integers in “a” and “b” for equality, and store the results in “dst”.
Deprecated since version X87: MMX technology intrinsics can cause issues on modern processors and should generally be avoided. Use SSE2, AVX, or later instruction sets instead, especially when targeting modern processors.
Intel Implementation Psudeo-Code
FOR j := 0 to 1
i := j*32
dst[i+31:i] := ( a[i+31:i] == b[i+31:i] ) ? 0xFFFFFFFF : 0
ENDFOR
_mm_cmpgt_pi8#
- Tech:
MMX
- Category:
Compare
- Header:
mmintrin.h
- Searchable:
MMX-Compare-XMM
- Register:
XMM 128 bit
- Return Type:
__m64
- Param Types:
__m64 a, __m64 b
- Param ETypes:
SI8 a, SI8 b
__m64 _mm_cmpgt_pi8(__m64 a, __m64 b);
Intel Description
Compare packed signed 8-bit integers in “a” and “b” for greater-than, and store the results in “dst”.
Deprecated since version X87: MMX technology intrinsics can cause issues on modern processors and should generally be avoided. Use SSE2, AVX, or later instruction sets instead, especially when targeting modern processors.
Intel Implementation Psudeo-Code
FOR j := 0 to 7
i := j*8
dst[i+7:i] := ( a[i+7:i] > b[i+7:i] ) ? 0xFF : 0
ENDFOR
_mm_cmpgt_pi16#
- Tech:
MMX
- Category:
Compare
- Header:
mmintrin.h
- Searchable:
MMX-Compare-XMM
- Register:
XMM 128 bit
- Return Type:
__m64
- Param Types:
__m64 a, __m64 b
- Param ETypes:
SI16 a, SI16 b
__m64 _mm_cmpgt_pi16(__m64 a, __m64 b);
Intel Description
Compare packed signed 16-bit integers in “a” and “b” for greater-than, and store the results in “dst”.
Deprecated since version X87: MMX technology intrinsics can cause issues on modern processors and should generally be avoided. Use SSE2, AVX, or later instruction sets instead, especially when targeting modern processors.
Intel Implementation Psudeo-Code
FOR j := 0 to 3
i := j*16
dst[i+15:i] := ( a[i+15:i] > b[i+15:i] ) ? 0xFFFF : 0
ENDFOR
_mm_cmpgt_pi32#
- Tech:
MMX
- Category:
Compare
- Header:
mmintrin.h
- Searchable:
MMX-Compare-XMM
- Register:
XMM 128 bit
- Return Type:
__m64
- Param Types:
__m64 a, __m64 b
- Param ETypes:
SI32 a, SI32 b
__m64 _mm_cmpgt_pi32(__m64 a, __m64 b);
Intel Description
Compare packed signed 32-bit integers in “a” and “b” for greater-than, and store the results in “dst”.
Deprecated since version X87: MMX technology intrinsics can cause issues on modern processors and should generally be avoided. Use SSE2, AVX, or later instruction sets instead, especially when targeting modern processors.
Intel Implementation Psudeo-Code
FOR j := 0 to 1
i := j*32
dst[i+31:i] := ( a[i+31:i] > b[i+31:i] ) ? 0xFFFFFFFF : 0
ENDFOR