Intel® C++ Compiler 16.0 User and Reference Guide

_mm512_mask_blend_pd

Blends float64 vectors using the instruction mask. Corresponding instruction is VBLENDMPD. This intrinsic only applies to Intel® Many Integrated Core Architecture (Intel® MIC Architecture).

Syntax

extern __m512d __cdecl _mm512_mask_blend_pd(__mmask8 k1, __m512d v2, __m512d v3);

Parameters

v2

float64 vector used for the blend operation

v3

float64 vector used for the blend operation

k1

instruction mask used for blend selection

Description

This intrinsic performs an element-by-element blending between float64 vectors v2 and v3, using mask k1 as selector. The result is written to float64 vector v2.

The k1 mask is not used as a write-mask for this instruction. Instead, the k1 mask is used as an element selector: every element of the destination is conditionally selected between vectors v2 or v3 using the value of the related mask bit ('0' for source vector v2, '1' for source vector v3).

Returns

Returns the result of the blend operation.