Developer Guide and Reference

Contents

Intrinsics for Load Operations

The prototypes for Intel® Advanced Vector Extensions 512 (Intel® AVX-512) intrinsics are located in the
zmmintrin.h
header file.
To use these intrinsics, include the
immintrin.h
file as follows:
#include <immintrin.h>
variable
definition
src
source element to use based on writemask result
k
writemask used as a selector
mem_addr
pointer to base address in memory
base_addr
pointer to base address in memory to begin load or store operation
_mm_mask_expandloadu_pd
__m128d _mm_mask_expandloadu_pd(__m128d src, __mmask8 k, void const* mem_addr)
CPUID Flags: AVX512F, AVX512VL
Instruction(s): vexpandpd
Load as many contiguous double-precision (64-bit) floating-point elements from unaligned memory at
mem_addr
as there are ones in the low 2 bits of mask
k
, and place them in the result element positions corresponding to the positions of the ones in the mask (elements are copied from
src
when the corresponding mask bit is not set).