Intel® C++ Compiler 16.0 User and Reference Guide

_mm512_extpackstorelo_epi64/_mm512_mask_extpackstorelo_epi64

Packs mask-enabled elements of int64 vector to form an unaligned int64 stream, down-converts it, and stores that portion of the stream that maps to the low 64-byte aligned portion of the memory destination. Corresponding instruction is VPACKSTORELD. This intrinsic only applies to Intel® Many Integrated Core Architecture (Intel® MIC Architecture).

Syntax

Without Mask

extern void __cdecl _mm512_extpackstorelo_epi64(void* mt, __m512i v1, _MM_DOWNCONV_EPI64_ENUM conv, int hint);

With Mask

extern void __cdecl _mm512_mask_extpackstorelo_epi64(void* mt, __mmask8 k1, __m512i v1, _MM_DOWNCONV_EPI64_ENUM conv, int hint);

Arguments

v1

source vector to store elements from

conv

Type of conversion, which can be one of the following:

  • _MM_DOWNCONV_EPI64_NONE - no conversion

k1

vector mask to select elements to add to the stream

mt

memory location to store vector elements

hint

Hint that indicates to the processor that the data is non-temporal. Takes the value 0 or 1, where:

  • _MM_HINT_NONE = 0
  • _MM_HINT_NT = 1 (Store is non-temporal)

Description

Packs and down-converts the mask-enabled elements of int64 vector v1 into a byte/word/doubleword stream logically mapped starting at element-aligned address mt , and stores the low-64-byte elements of that stream (those elements of the stream that map before the first 64-byte-aligned address following mt , the low cache line in the current implementation). The length of the stream depends on the number of enabled masks, as elements disabled by the mask are not added to the stream.

The mask parameter k1 is not used as a writemask for this function. Instead, the mask is used as an element selector, choosing which elements are added to the stream.

Returns

Returns nothing.