Visible to Intel only — GUID: GUID-D860724A-15FA-4F77-8F7F-AD8C7B53B698
Visible to Intel only — GUID: GUID-D860724A-15FA-4F77-8F7F-AD8C7B53B698
<span class='option'>_mm_maskload_epi32/64, _mm256_maskload_epi32/64</span>
Conditionally loads dwords/qwords from the specified memory location, depending on the mask bits associated with each data element. The corresponding Intel® AVX2 instruction is VPMASKMOVD or VPMASKMOVQ.
extern __m128i _mm_maskload_epi32(int const * addr, __m128i mask); |
extern __m256i _mm256_maskload_epi32(int const * addr, __m256i mask); |
extern __m128i _mm_maskload_epi64(__int64 const * addr, __m128i mask); |
extern __m256i _mm256_maskload_epi64(__int64 const * addr, __m256i mask); |
addr |
pointer to data to be loaded |
mask |
integer source vector |
Conditionally loads 32/64-bit data elements from the memory referenced by the addr and stores it into the corresponding data element of the result vector. If an element of mask is 0, the 32/64-bit zero is written to the corresponding element of the result vector. The mask bit for each data element is the most significant bit of that element in mask.
Result of the masked load operation.