共用方式為


Ssse3.HorizontalAdd 方法

定義

多載

HorizontalAdd(Vector128<Int32>, Vector128<Int32>)

__m128i _mm_hadd_epi32 (__m128i a, __m128i b)

PHADDD xmm, xmm/m128

HorizontalAdd(Vector128<Int16>, Vector128<Int16>)

__m128i _mm_hadd_epi16 (__m128i a, __m128i b)

PHADDW xmm, xmm/m128

HorizontalAdd(Vector128<Int32>, Vector128<Int32>)

來源:
Ssse3.cs
來源:
Ssse3.cs
來源:
Ssse3.cs

__m128i _mm_hadd_epi32 (__m128i a, __m128i b)

PHADDD xmm, xmm/m128

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

參數

right
Vector128<Int32>

傳回

適用於

HorizontalAdd(Vector128<Int16>, Vector128<Int16>)

來源:
Ssse3.cs
來源:
Ssse3.cs
來源:
Ssse3.cs

__m128i _mm_hadd_epi16 (__m128i a, __m128i b)

PHADDW xmm, xmm/m128

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

參數

right
Vector128<Int16>

傳回

適用於