Edit

Share via


Sse3.HorizontalAdd Method

Definition

Overloads

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>)

Source:
Sse3.cs
Source:
Sse3.cs
Source:
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)

Parameters

right
Vector128<Double>

Returns

Applies to

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

Source:
Sse3.cs
Source:
Sse3.cs
Source:
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)

Parameters

right
Vector128<Single>

Returns

Applies to