_mm512_mask_packstorehi_pd
Classification
KNC, Store, CPUID Test: KNCNI
Header File
Instruction
VPACKSTOREHPD m512 {k}, zmm
Synopsis
_mm512_mask_packstorehi_pd(void* mt, __mmask8 k, __m512d v1);
Description
Stores packed double-precision (64-bit) floating-point elements of "v1" into a quadword stream at a logically mapped starting address (mt-64), storing the high-64-byte elements of that stream (those elemetns of the stream that map at or after the first 64-byte-aligned address following (m5-64)). Elements are loaded from memory according to element selector "k" (elements are skipped when the corresponding mask bit is not set).
Operation
storeOffset := 0
foundNext64BytesBoundary := 0
addr := mt-64
FOR j := 0 to 7
IF k[j]
IF foundNext64BytesBoundary == 0
IF ((addr + (storeOffset + 1)*8) % 64) == 0
foundNext64BytesBoundary := 1
FI
ELSE
i := j*64
MEM[addr + storeOffset*4] := v1[i+63:i]
FI
storeOffset := storeOffset + 1
FI
ENDFOR