Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 12/16/2022
Public

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

Document Table of Contents

<span class='option'>_mm256_movemask_epi8</span>

Moves byte mask from source vector. The corresponding Intel® AVX2 instruction is VPMOVMSKB.

Syntax

extern int _mm256_movemask_epi8(__m256i s1);

Arguments

s1

integer source vector used for the operation.

Description

Creates a mask from the most significant bit of each byte of source vector s1 and stores the result in the in the returned doubleword value/mask.

Returns

Result of the move mask operation.