Redigera

Dela via


Avx2.HorizontalSubtract Method

Definition

Overloads

HorizontalSubtract(Vector256<Int32>, Vector256<Int32>)

__m256i _mm256_hsub_epi32 (__m256i a, __m256i b)

VPHSUBD ymm, ymm, ymm/m256

HorizontalSubtract(Vector256<Int16>, Vector256<Int16>)

__m256i _mm256_hsub_epi16 (__m256i a, __m256i b)

VPHSUBW ymm, ymm, ymm/m256

HorizontalSubtract(Vector256<Int32>, Vector256<Int32>)

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

__m256i _mm256_hsub_epi32 (__m256i a, __m256i b)

VPHSUBD ymm, ymm, ymm/m256

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

Parameters

right
Vector256<Int32>

Returns

Applies to

HorizontalSubtract(Vector256<Int16>, Vector256<Int16>)

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

__m256i _mm256_hsub_epi16 (__m256i a, __m256i b)

VPHSUBW ymm, ymm, ymm/m256

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

Parameters

right
Vector256<Int16>

Returns

Applies to