Developer Guide and Reference

Contents

Intrinsics for Shift Operations

The prototypes for Intel® Advanced Vector Extensions 512 (Intel® AVX-512) intrinsics are located in the
zmmintrin.h
header file.
To use these intrinsics, include the
immintrin.h
file as follows:
#include <immintrin.h>
variable
definition
src
source element to use based on writemask result
k
writemask used as a selector
a
first source vector element
b
second source vector element
_mm_mask_rol_epi32
__m128i _mm_mask_rol_epi32(__m128i src, __mmask8 k, __m128i a, const int imm)
CPUID Flags: AVX512F, AVX512VL
Instruction(s): vprold
Rotate the bits in each packed 32-bit integer in
a
to the left by the number of bits specified in
imm
, and return the results using writemask
k
(elements are copied from
src
when the corresponding mask bit is not set).
<