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


Sse3.HorizontalAdd Метод

Определение

Перегрузки

HorizontalAdd(Vector128<Double>, Vector128<Double>)

__m128d _mm_hadd_pd (__m128d a, __m128d b).

HADDPD xmm, xmm/m128

HorizontalAdd(Vector128<Single>, Vector128<Single>)

__m128 _mm_hadd_ps (__m128 a, __m128 b).

HADDPS xmm, xmm/m128

HorizontalAdd(Vector128<Double>, Vector128<Double>)

Исходный код:
Sse3.cs
Исходный код:
Sse3.cs
Исходный код:
Sse3.cs

__m128d _mm_hadd_pd (__m128d a, __m128d b).

HADDPD xmm, xmm/m128

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

Параметры

right
Vector128<Double>

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

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

HorizontalAdd(Vector128<Single>, Vector128<Single>)

Исходный код:
Sse3.cs
Исходный код:
Sse3.cs
Исходный код:
Sse3.cs

__m128 _mm_hadd_ps (__m128 a, __m128 b).

HADDPS xmm, xmm/m128

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

Параметры

right
Vector128<Single>

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

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