Edit

Share via


Sse41.BlendVariable Method

Definition

Overloads

BlendVariable(Vector128<Byte>, Vector128<Byte>, Vector128<Byte>)

__m128i _mm_blendv_epi8 (__m128i a, __m128i b, __m128i mask)

PBLENDVB xmm, xmm/m128, xmm

BlendVariable(Vector128<Double>, Vector128<Double>, Vector128<Double>)

__m128d _mm_blendv_pd (__m128d a, __m128d b, __m128d mask)

BLENDVPD xmm, xmm/m128, xmm0

BlendVariable(Vector128<Int16>, Vector128<Int16>, Vector128<Int16>)

__m128i _mm_blendv_epi8 (__m128i a, __m128i b, __m128i mask)

PBLENDVB xmm, xmm/m128, xmm

BlendVariable(Vector128<Int32>, Vector128<Int32>, Vector128<Int32>)

__m128i _mm_blendv_epi8 (__m128i a, __m128i b, __m128i mask)

PBLENDVB xmm, xmm/m128, xmm

BlendVariable(Vector128<Int64>, Vector128<Int64>, Vector128<Int64>)

__m128i _mm_blendv_epi8 (__m128i a, __m128i b, __m128i mask)

PBLENDVB xmm, xmm/m128, xmm

BlendVariable(Vector128<SByte>, Vector128<SByte>, Vector128<SByte>)

__m128i _mm_blendv_epi8 (__m128i a, __m128i b, __m128i mask)

PBLENDVB xmm, xmm/m128, xmm

BlendVariable(Vector128<Single>, Vector128<Single>, Vector128<Single>)

__m128 _mm_blendv_ps (__m128 a, __m128 b, __m128 mask)

BLENDVPS xmm, xmm/m128, xmm0

BlendVariable(Vector128<UInt16>, Vector128<UInt16>, Vector128<UInt16>)

__m128i _mm_blendv_epi8 (__m128i a, __m128i b, __m128i mask)

PBLENDVB xmm, xmm/m128, xmm

BlendVariable(Vector128<UInt32>, Vector128<UInt32>, Vector128<UInt32>)

__m128i _mm_blendv_epi8 (__m128i a, __m128i b, __m128i mask)

PBLENDVB xmm, xmm/m128, xmm

BlendVariable(Vector128<UInt64>, Vector128<UInt64>, Vector128<UInt64>)

__m128i _mm_blendv_epi8 (__m128i a, __m128i b, __m128i mask)

PBLENDVB xmm, xmm/m128, xmm

BlendVariable(Vector128<Byte>, Vector128<Byte>, Vector128<Byte>)

Source:
Sse41.cs
Source:
Sse41.cs
Source:
Sse41.cs

__m128i _mm_blendv_epi8 (__m128i a, __m128i b, __m128i mask)

PBLENDVB xmm, xmm/m128, xmm

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

Parameters

left
Vector128<Byte>
right
Vector128<Byte>
mask
Vector128<Byte>

Returns

Applies to

BlendVariable(Vector128<Double>, Vector128<Double>, Vector128<Double>)

Source:
Sse41.cs
Source:
Sse41.cs
Source:
Sse41.cs

__m128d _mm_blendv_pd (__m128d a, __m128d b, __m128d mask)

BLENDVPD xmm, xmm/m128, xmm0

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

Parameters

right
Vector128<Double>

Returns

Applies to

BlendVariable(Vector128<Int16>, Vector128<Int16>, Vector128<Int16>)

Source:
Sse41.cs
Source:
Sse41.cs
Source:
Sse41.cs

__m128i _mm_blendv_epi8 (__m128i a, __m128i b, __m128i mask)

PBLENDVB xmm, xmm/m128, xmm

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

Parameters

right
Vector128<Int16>

Returns

Remarks

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

Applies to

BlendVariable(Vector128<Int32>, Vector128<Int32>, Vector128<Int32>)

Source:
Sse41.cs
Source:
Sse41.cs
Source:
Sse41.cs

__m128i _mm_blendv_epi8 (__m128i a, __m128i b, __m128i mask)

PBLENDVB xmm, xmm/m128, xmm

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

Parameters

right
Vector128<Int32>

Returns

Remarks

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

Applies to

BlendVariable(Vector128<Int64>, Vector128<Int64>, Vector128<Int64>)

Source:
Sse41.cs
Source:
Sse41.cs
Source:
Sse41.cs

__m128i _mm_blendv_epi8 (__m128i a, __m128i b, __m128i mask)

PBLENDVB xmm, xmm/m128, xmm

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

Parameters

right
Vector128<Int64>

Returns

Remarks

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

Applies to

BlendVariable(Vector128<SByte>, Vector128<SByte>, Vector128<SByte>)

Source:
Sse41.cs
Source:
Sse41.cs
Source:
Sse41.cs

__m128i _mm_blendv_epi8 (__m128i a, __m128i b, __m128i mask)

PBLENDVB xmm, xmm/m128, xmm

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

Parameters

right
Vector128<SByte>

Returns

Applies to

BlendVariable(Vector128<Single>, Vector128<Single>, Vector128<Single>)

Source:
Sse41.cs
Source:
Sse41.cs
Source:
Sse41.cs

__m128 _mm_blendv_ps (__m128 a, __m128 b, __m128 mask)

BLENDVPS xmm, xmm/m128, xmm0

public:
 static System::Runtime::Intrinsics::Vector128<float> BlendVariable(System::Runtime::Intrinsics::Vector128<float> left, System::Runtime::Intrinsics::Vector128<float> right, System::Runtime::Intrinsics::Vector128<float> mask);
public static System.Runtime.Intrinsics.Vector128<float> BlendVariable (System.Runtime.Intrinsics.Vector128<float> left, System.Runtime.Intrinsics.Vector128<float> right, System.Runtime.Intrinsics.Vector128<float> mask);
static member BlendVariable : System.Runtime.Intrinsics.Vector128<single> * System.Runtime.Intrinsics.Vector128<single> * System.Runtime.Intrinsics.Vector128<single> -> System.Runtime.Intrinsics.Vector128<single>
Public Shared Function BlendVariable (left As Vector128(Of Single), right As Vector128(Of Single), mask As Vector128(Of Single)) As Vector128(Of Single)

Parameters

right
Vector128<Single>

Returns

Applies to

BlendVariable(Vector128<UInt16>, Vector128<UInt16>, Vector128<UInt16>)

Source:
Sse41.cs
Source:
Sse41.cs
Source:
Sse41.cs

__m128i _mm_blendv_epi8 (__m128i a, __m128i b, __m128i mask)

PBLENDVB xmm, xmm/m128, xmm

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

Parameters

right
Vector128<UInt16>

Returns

Remarks

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

Applies to

BlendVariable(Vector128<UInt32>, Vector128<UInt32>, Vector128<UInt32>)

Source:
Sse41.cs
Source:
Sse41.cs
Source:
Sse41.cs

__m128i _mm_blendv_epi8 (__m128i a, __m128i b, __m128i mask)

PBLENDVB xmm, xmm/m128, xmm

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

Parameters

right
Vector128<UInt32>

Returns

Remarks

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

Applies to

BlendVariable(Vector128<UInt64>, Vector128<UInt64>, Vector128<UInt64>)

Source:
Sse41.cs
Source:
Sse41.cs
Source:
Sse41.cs

__m128i _mm_blendv_epi8 (__m128i a, __m128i b, __m128i mask)

PBLENDVB xmm, xmm/m128, xmm

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

Parameters

right
Vector128<UInt64>

Returns

Remarks

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

Applies to