_mm512_maskz_extracti32x8_epi32
Classification
AVX-512, Miscellaneous, CPUID Test: AVX512DQ
Header File
Instruction
VEXTRACTI32X8 ymm {z}, zmm, imm8
Synopsis
_mm512_maskz_extracti32x8_epi32(__mmask8 k, __m512i a, int imm8);
Description
Extract 256 bits (composed of 8 packed 32-bit integers) from "a", selected with "imm8", and store the results in "dst" using zeromask "k" (elements are zeroed out when the corresponding mask bit is not set).
Operation
CASE imm8[0] OF
0: tmp[255:0] := a[255:0]
1: tmp[255:0] := a[511:256]
ESAC
FOR j := 0 to 7
i := j*32
IF k[j]
dst[i+31:i] := tmp[i+31:i]
ELSE
dst[i+31:i] := 0
FI
ENDFOR
dst[MAX:256] := 0