_kshiftri_mask8
Classification
AVX-512, Mask, CPUID Test: AVX512DQ
Header File
Instruction
KSHIFTRB k, k, imm8
Synopsis
_kshiftri_mask8(__mmask8 a, unsigned int count);
Description
Shift the bits of 8-bit mask "a" right by "count" while shifting in zeros, and store the least significant 8 bits of the result in "k".
Operation
k[MAX:0] := 0
IF count[7:0] <= 7
k[7:0] := a[7:0] >> count[7:0]
FI