Packed Compare for Equal Intrinsic

The prototype for this Intel® Streaming SIMD Extensions (Intel® SSE4) intrinsic is in the smmintrin.h file.

To use this intrinsic, include the immintrin.h file as follows:

#include <immintrin.h>


__m128i _mm_cmpeq_epi64(__m128i a, __m128i b);

Performs a packed integer 64-bit comparison for equality. The intrinsic fills the corresponding parts of the result with zeroes or ones based on equality.

Corresponding instruction: PCMPEQQ

Para obtener información más completa sobre las optimizaciones del compilador, consulte nuestro Aviso de optimización.