Share via


_mm_cmpeq_epi16

Microsoft Specific

Compares the 8 signed or unsigned 16-bit integers in a and the 8 signed or unsigned 16-bit integers in b for equality.

__m128i _mm_cmpeq_epi16 (__m128i a, __m128i b);
PCMPEQW

Return Value

r0 := (a0 == b0) ? 0xffff : 0x0
r1 := (a1 == b1) ? 0xffff : 0x0
...
r7 := (a7 == b7) ? 0xffff : 0x0

Requirements

Header: emmintrin.h

END Microsoft Specific

See Also

Reference

Comparison Intrinsics (SSE2)