_mm512_bsrli_epi128
Classification
AVX-512, Shift, CPUID Test: AVX512BW
Header File
Instruction
VPSRLDQ zmm, zmm, imm8
Synopsis
_mm512_bsrli_epi128(__m512i a, int imm8);
Description
Shift 128-bit lanes in "a" right by "imm8" bytes while shifting in zeros, and store the results in "dst".
Operation
tmp := imm8[7:0]
IF tmp > 15
tmp := 16
FI
dst[127:0] := a[127:0] >> (tmp*8)
dst[255:128] := a[255:128] >> (tmp*8)
dst[383:256] := a[383:256] >> (tmp*8)
dst[511:384] := a[511:384] >> (tmp*8)
dst[MAX:512] := 0