Sse2.SubtractSaturate Method

Definition

Overloads

SubtractSaturate(Vector128<Byte>, Vector128<Byte>)

__m128i _mm_subs_epu8 (__m128i a, __m128i b)

PSUBUSB xmm, xmm/m128

SubtractSaturate(Vector128<Int16>, Vector128<Int16>)

__m128i _mm_subs_epi16 (__m128i a, __m128i b)

PSUBSW xmm, xmm/m128

SubtractSaturate(Vector128<SByte>, Vector128<SByte>)

__m128i _mm_subs_epi8 (__m128i a, __m128i b)

PSUBSB xmm, xmm/m128

SubtractSaturate(Vector128<UInt16>, Vector128<UInt16>)

__m128i _mm_subs_epu16 (__m128i a, __m128i b)

PSUBUSW xmm, xmm/m128

SubtractSaturate(Vector128<Byte>, Vector128<Byte>)

Source:
Sse2.cs
Source:
Sse2.cs
Source:
Sse2.cs

__m128i _mm_subs_epu8 (__m128i a, __m128i b)

PSUBUSB xmm, xmm/m128

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

Parameters

left
Vector128<Byte>
right
Vector128<Byte>

Returns

Applies to

SubtractSaturate(Vector128<Int16>, Vector128<Int16>)

Source:
Sse2.cs
Source:
Sse2.cs
Source:
Sse2.cs

__m128i _mm_subs_epi16 (__m128i a, __m128i b)

PSUBSW xmm, xmm/m128

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

Parameters

right
Vector128<Int16>

Returns

Applies to

SubtractSaturate(Vector128<SByte>, Vector128<SByte>)

Source:
Sse2.cs
Source:
Sse2.cs
Source:
Sse2.cs

__m128i _mm_subs_epi8 (__m128i a, __m128i b)

PSUBSB xmm, xmm/m128

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

Parameters

right
Vector128<SByte>

Returns

Applies to

SubtractSaturate(Vector128<UInt16>, Vector128<UInt16>)

Source:
Sse2.cs
Source:
Sse2.cs
Source:
Sse2.cs

__m128i _mm_subs_epu16 (__m128i a, __m128i b)

PSUBUSW xmm, xmm/m128

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

Parameters

right
Vector128<UInt16>

Returns

Applies to