_mm_movemask_epi8

Microsoft Specific

Creates a 16-bit mask from the most significant bits of the 16 signed or unsigned 8-bit integers in a and zero extends the upper bits.

int _mm_movemask_epi8 (__m128i a);
PMOVMSKB

Return Value

r := a15[7] << 15 |
a14[7] << 14 |
...
a1[7] << 1 |
a0[7]

Requirements

Header: emmintrin.h

END Microsoft Specific

See Also

Concepts

Miscellaneous Operations (Integer SSE2 Intrinsics)