Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 3/31/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Visible to Intel only — GUID: GUID-C2D89AAF-3DE0-4EE7-9DDB-B5C3E78D471F

Document Table of Contents

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>

_mm_cmpeq_epi64

__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