編輯

共用方式為


Avx2.SubtractSaturate Method

Definition

Overloads

SubtractSaturate(Vector256<SByte>, Vector256<SByte>)

__m256i _mm256_subs_epi8 (__m256i a, __m256i b)

VPSUBSB ymm, ymm, ymm/m256

SubtractSaturate(Vector256<UInt16>, Vector256<UInt16>)

__m256i _mm256_subs_epu16 (__m256i a, __m256i b)

VPSUBUSW ymm, ymm, ymm/m256

SubtractSaturate(Vector256<Byte>, Vector256<Byte>)

__m256i _mm256_subs_epu8 (__m256i a, __m256i b)

VPSUBUSB ymm, ymm, ymm/m256

SubtractSaturate(Vector256<Int16>, Vector256<Int16>)

__m256i _mm256_subs_epi16 (__m256i a, __m256i b)

VPSUBSW ymm, ymm, ymm/m256

SubtractSaturate(Vector256<SByte>, Vector256<SByte>)

Source:
Avx2.cs
Source:
Avx2.cs
Source:
Avx2.cs

__m256i _mm256_subs_epi8 (__m256i a, __m256i b)

VPSUBSB ymm, ymm, ymm/m256

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

Parameters

right
Vector256<SByte>

Returns

Applies to

SubtractSaturate(Vector256<UInt16>, Vector256<UInt16>)

Source:
Avx2.cs
Source:
Avx2.cs
Source:
Avx2.cs

__m256i _mm256_subs_epu16 (__m256i a, __m256i b)

VPSUBUSW ymm, ymm, ymm/m256

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

Parameters

right
Vector256<UInt16>

Returns

Applies to

SubtractSaturate(Vector256<Byte>, Vector256<Byte>)

Source:
Avx2.cs
Source:
Avx2.cs
Source:
Avx2.cs

__m256i _mm256_subs_epu8 (__m256i a, __m256i b)

VPSUBUSB ymm, ymm, ymm/m256

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

Parameters

left
Vector256<Byte>
right
Vector256<Byte>

Returns

Applies to

SubtractSaturate(Vector256<Int16>, Vector256<Int16>)

Source:
Avx2.cs
Source:
Avx2.cs
Source:
Avx2.cs

__m256i _mm256_subs_epi16 (__m256i a, __m256i b)

VPSUBSW ymm, ymm, ymm/m256

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

Parameters

right
Vector256<Int16>

Returns

Applies to