Поделиться через


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>

Возвращаемое значение

Применяется к