_mm256_mask_compressstoreu_ps
Classification
AVX-512, Store, CPUID Test: AVX512F
Header File
Instruction
VCOMPRESSPS m256 {k}, ymm
Synopsis
_mm256_mask_compressstoreu_ps(void* base_addr, __mmask8 k, __m256 a);
Description
Contiguously store the active single-precision (32-bit) floating-point elements in "a" (those with their respective bit set in writemask "k") to unaligned memory at "base_addr".
Operation
size := 32
m := base_addr
FOR j := 0 to 7
i := j*32
IF k[j]
MEM[m+size-1:m] := a[i+31:i]
m := m + size
FI
ENDFOR