Avx2.BlendVariable Method

Definition

Overloads

BlendVariable(Vector256<UInt64>, Vector256<UInt64>, Vector256<UInt64>)

__m256i _mm256_blendv_epi8 (__m256i a, __m256i b, __m256i mask)

VPBLENDVB ymm, ymm, ymm/m256, ymm

BlendVariable(Vector256<UInt16>, Vector256<UInt16>, Vector256<UInt16>)

__m256i _mm256_blendv_epi8 (__m256i a, __m256i b, __m256i mask)

VPBLENDVB ymm, ymm, ymm/m256, ymm

BlendVariable(Vector256<SByte>, Vector256<SByte>, Vector256<SByte>)

__m256i _mm256_blendv_epi8 (__m256i a, __m256i b, __m256i mask)

VPBLENDVB ymm, ymm, ymm/m256, ymm

BlendVariable(Vector256<UInt32>, Vector256<UInt32>, Vector256<UInt32>)

__m256i _mm256_blendv_epi8 (__m256i a, __m256i b, __m256i mask)

VPBLENDVB ymm, ymm, ymm/m256, ymm

BlendVariable(Vector256<Int32>, Vector256<Int32>, Vector256<Int32>)

__m256i _mm256_blendv_epi8 (__m256i a, __m256i b, __m256i mask)

VPBLENDVB ymm, ymm, ymm/m256, ymm

BlendVariable(Vector256<Int16>, Vector256<Int16>, Vector256<Int16>)

__m256i _mm256_blendv_epi8 (__m256i a, __m256i b, __m256i mask)

VPBLENDVB ymm, ymm, ymm/m256, ymm

BlendVariable(Vector256<Byte>, Vector256<Byte>, Vector256<Byte>)

__m256i _mm256_blendv_epi8 (__m256i a, __m256i b, __m256i mask)

VPBLENDVB ymm, ymm, ymm/m256, ymm

BlendVariable(Vector256<Int64>, Vector256<Int64>, Vector256<Int64>)

__m256i _mm256_blendv_epi8 (__m256i a, __m256i b, __m256i mask)

VPBLENDVB ymm, ymm, ymm/m256, ymm

BlendVariable(Vector256<UInt64>, Vector256<UInt64>, Vector256<UInt64>)

__m256i _mm256_blendv_epi8 (__m256i a, __m256i b, __m256i mask)

VPBLENDVB ymm, ymm, ymm/m256, ymm

public:
 static System::Runtime::Intrinsics::Vector256<System::UInt64> BlendVariable(System::Runtime::Intrinsics::Vector256<System::UInt64> left, System::Runtime::Intrinsics::Vector256<System::UInt64> right, System::Runtime::Intrinsics::Vector256<System::UInt64> mask);
public static System.Runtime.Intrinsics.Vector256<ulong> BlendVariable (System.Runtime.Intrinsics.Vector256<ulong> left, System.Runtime.Intrinsics.Vector256<ulong> right, System.Runtime.Intrinsics.Vector256<ulong> mask);
static member BlendVariable : System.Runtime.Intrinsics.Vector256<uint64> * System.Runtime.Intrinsics.Vector256<uint64> * System.Runtime.Intrinsics.Vector256<uint64> -> System.Runtime.Intrinsics.Vector256<uint64>
Public Shared Function BlendVariable (left As Vector256(Of ULong), right As Vector256(Of ULong), mask As Vector256(Of ULong)) As Vector256(Of ULong)

Parameters

right
Vector256<UInt64>

Returns

Vector256<UInt64>

Remarks

This intrinsic generates VPBLENDVB that needs a BYTE mask-vector, so users should correctly set each mask byte for the selected elements.

Applies to

BlendVariable(Vector256<UInt16>, Vector256<UInt16>, Vector256<UInt16>)

__m256i _mm256_blendv_epi8 (__m256i a, __m256i b, __m256i mask)

VPBLENDVB ymm, ymm, ymm/m256, ymm

public:
 static System::Runtime::Intrinsics::Vector256<System::UInt16> BlendVariable(System::Runtime::Intrinsics::Vector256<System::UInt16> left, System::Runtime::Intrinsics::Vector256<System::UInt16> right, System::Runtime::Intrinsics::Vector256<System::UInt16> mask);
public static System.Runtime.Intrinsics.Vector256<ushort> BlendVariable (System.Runtime.Intrinsics.Vector256<ushort> left, System.Runtime.Intrinsics.Vector256<ushort> right, System.Runtime.Intrinsics.Vector256<ushort> mask);
static member BlendVariable : System.Runtime.Intrinsics.Vector256<uint16> * System.Runtime.Intrinsics.Vector256<uint16> * System.Runtime.Intrinsics.Vector256<uint16> -> System.Runtime.Intrinsics.Vector256<uint16>
Public Shared Function BlendVariable (left As Vector256(Of UShort), right As Vector256(Of UShort), mask As Vector256(Of UShort)) As Vector256(Of UShort)

Parameters

right
Vector256<UInt16>

Returns

Vector256<UInt16>

Remarks

This intrinsic generates VPBLENDVB that needs a BYTE mask-vector, so users should correctly set each mask byte for the selected elements.

Applies to

BlendVariable(Vector256<SByte>, Vector256<SByte>, Vector256<SByte>)

__m256i _mm256_blendv_epi8 (__m256i a, __m256i b, __m256i mask)

VPBLENDVB ymm, ymm, ymm/m256, ymm

public:
 static System::Runtime::Intrinsics::Vector256<System::SByte> BlendVariable(System::Runtime::Intrinsics::Vector256<System::SByte> left, System::Runtime::Intrinsics::Vector256<System::SByte> right, System::Runtime::Intrinsics::Vector256<System::SByte> mask);
public static System.Runtime.Intrinsics.Vector256<sbyte> BlendVariable (System.Runtime.Intrinsics.Vector256<sbyte> left, System.Runtime.Intrinsics.Vector256<sbyte> right, System.Runtime.Intrinsics.Vector256<sbyte> mask);
static member BlendVariable : System.Runtime.Intrinsics.Vector256<sbyte> * System.Runtime.Intrinsics.Vector256<sbyte> * System.Runtime.Intrinsics.Vector256<sbyte> -> System.Runtime.Intrinsics.Vector256<sbyte>
Public Shared Function BlendVariable (left As Vector256(Of SByte), right As Vector256(Of SByte), mask As Vector256(Of SByte)) As Vector256(Of SByte)

Parameters

right
Vector256<SByte>

Returns

Vector256<SByte>

Applies to

BlendVariable(Vector256<UInt32>, Vector256<UInt32>, Vector256<UInt32>)

__m256i _mm256_blendv_epi8 (__m256i a, __m256i b, __m256i mask)

VPBLENDVB ymm, ymm, ymm/m256, ymm

public:
 static System::Runtime::Intrinsics::Vector256<System::UInt32> BlendVariable(System::Runtime::Intrinsics::Vector256<System::UInt32> left, System::Runtime::Intrinsics::Vector256<System::UInt32> right, System::Runtime::Intrinsics::Vector256<System::UInt32> mask);
public static System.Runtime.Intrinsics.Vector256<uint> BlendVariable (System.Runtime.Intrinsics.Vector256<uint> left, System.Runtime.Intrinsics.Vector256<uint> right, System.Runtime.Intrinsics.Vector256<uint> mask);
static member BlendVariable : System.Runtime.Intrinsics.Vector256<uint32> * System.Runtime.Intrinsics.Vector256<uint32> * System.Runtime.Intrinsics.Vector256<uint32> -> System.Runtime.Intrinsics.Vector256<uint32>
Public Shared Function BlendVariable (left As Vector256(Of UInteger), right As Vector256(Of UInteger), mask As Vector256(Of UInteger)) As Vector256(Of UInteger)

Parameters

right
Vector256<UInt32>

Returns

Vector256<UInt32>

Remarks

This intrinsic generates VPBLENDVB that needs a BYTE mask-vector, so users should correctly set each mask byte for the selected elements.

Applies to

BlendVariable(Vector256<Int32>, Vector256<Int32>, Vector256<Int32>)

__m256i _mm256_blendv_epi8 (__m256i a, __m256i b, __m256i mask)

VPBLENDVB ymm, ymm, ymm/m256, ymm

public:
 static System::Runtime::Intrinsics::Vector256<int> BlendVariable(System::Runtime::Intrinsics::Vector256<int> left, System::Runtime::Intrinsics::Vector256<int> right, System::Runtime::Intrinsics::Vector256<int> mask);
public static System.Runtime.Intrinsics.Vector256<int> BlendVariable (System.Runtime.Intrinsics.Vector256<int> left, System.Runtime.Intrinsics.Vector256<int> right, System.Runtime.Intrinsics.Vector256<int> mask);
static member BlendVariable : System.Runtime.Intrinsics.Vector256<int> * System.Runtime.Intrinsics.Vector256<int> * System.Runtime.Intrinsics.Vector256<int> -> System.Runtime.Intrinsics.Vector256<int>
Public Shared Function BlendVariable (left As Vector256(Of Integer), right As Vector256(Of Integer), mask As Vector256(Of Integer)) As Vector256(Of Integer)

Parameters

right
Vector256<Int32>

Returns

Vector256<Int32>

Remarks

This intrinsic generates VPBLENDVB that needs a BYTE mask-vector, so users should correctly set each mask byte for the selected elements.

Applies to

BlendVariable(Vector256<Int16>, Vector256<Int16>, Vector256<Int16>)

__m256i _mm256_blendv_epi8 (__m256i a, __m256i b, __m256i mask)

VPBLENDVB ymm, ymm, ymm/m256, ymm

public:
 static System::Runtime::Intrinsics::Vector256<short> BlendVariable(System::Runtime::Intrinsics::Vector256<short> left, System::Runtime::Intrinsics::Vector256<short> right, System::Runtime::Intrinsics::Vector256<short> mask);
public static System.Runtime.Intrinsics.Vector256<short> BlendVariable (System.Runtime.Intrinsics.Vector256<short> left, System.Runtime.Intrinsics.Vector256<short> right, System.Runtime.Intrinsics.Vector256<short> mask);
static member BlendVariable : System.Runtime.Intrinsics.Vector256<int16> * System.Runtime.Intrinsics.Vector256<int16> * System.Runtime.Intrinsics.Vector256<int16> -> System.Runtime.Intrinsics.Vector256<int16>
Public Shared Function BlendVariable (left As Vector256(Of Short), right As Vector256(Of Short), mask As Vector256(Of Short)) As Vector256(Of Short)

Parameters

right
Vector256<Int16>

Returns

Vector256<Int16>

Remarks

This intrinsic generates VPBLENDVB that needs a BYTE mask-vector, so users should correctly set each mask byte for the selected elements.

Applies to

BlendVariable(Vector256<Byte>, Vector256<Byte>, Vector256<Byte>)

__m256i _mm256_blendv_epi8 (__m256i a, __m256i b, __m256i mask)

VPBLENDVB ymm, ymm, ymm/m256, ymm

public:
 static System::Runtime::Intrinsics::Vector256<System::Byte> BlendVariable(System::Runtime::Intrinsics::Vector256<System::Byte> left, System::Runtime::Intrinsics::Vector256<System::Byte> right, System::Runtime::Intrinsics::Vector256<System::Byte> mask);
public static System.Runtime.Intrinsics.Vector256<byte> BlendVariable (System.Runtime.Intrinsics.Vector256<byte> left, System.Runtime.Intrinsics.Vector256<byte> right, System.Runtime.Intrinsics.Vector256<byte> mask);
static member BlendVariable : System.Runtime.Intrinsics.Vector256<byte> * System.Runtime.Intrinsics.Vector256<byte> * System.Runtime.Intrinsics.Vector256<byte> -> System.Runtime.Intrinsics.Vector256<byte>
Public Shared Function BlendVariable (left As Vector256(Of Byte), right As Vector256(Of Byte), mask As Vector256(Of Byte)) As Vector256(Of Byte)

Parameters

left
Vector256<Byte>
right
Vector256<Byte>
mask
Vector256<Byte>

Returns

Vector256<Byte>

Applies to

BlendVariable(Vector256<Int64>, Vector256<Int64>, Vector256<Int64>)

__m256i _mm256_blendv_epi8 (__m256i a, __m256i b, __m256i mask)

VPBLENDVB ymm, ymm, ymm/m256, ymm

public:
 static System::Runtime::Intrinsics::Vector256<long> BlendVariable(System::Runtime::Intrinsics::Vector256<long> left, System::Runtime::Intrinsics::Vector256<long> right, System::Runtime::Intrinsics::Vector256<long> mask);
public static System.Runtime.Intrinsics.Vector256<long> BlendVariable (System.Runtime.Intrinsics.Vector256<long> left, System.Runtime.Intrinsics.Vector256<long> right, System.Runtime.Intrinsics.Vector256<long> mask);
static member BlendVariable : System.Runtime.Intrinsics.Vector256<int64> * System.Runtime.Intrinsics.Vector256<int64> * System.Runtime.Intrinsics.Vector256<int64> -> System.Runtime.Intrinsics.Vector256<int64>
Public Shared Function BlendVariable (left As Vector256(Of Long), right As Vector256(Of Long), mask As Vector256(Of Long)) As Vector256(Of Long)

Parameters

right
Vector256<Int64>

Returns

Vector256<Int64>

Remarks

This intrinsic generates VPBLENDVB that needs a BYTE mask-vector, so users should correctly set each mask byte for the selected elements.

Applies to