Avx.HorizontalAdd Method

Definition

Overloads

HorizontalAdd(Vector256<Double>, Vector256<Double>)

__m256d _mm256_hadd_pd (__m256d a, __m256d b)

VHADDPD ymm, ymm, ymm/m256

HorizontalAdd(Vector256<Single>, Vector256<Single>)

__m256 _mm256_hadd_ps (__m256 a, __m256 b)

VHADDPS ymm, ymm, ymm/m256

HorizontalAdd(Vector256<Double>, Vector256<Double>)

Source:
Avx.cs
Source:
Avx.cs
Source:
Avx.cs

__m256d _mm256_hadd_pd (__m256d a, __m256d b)

VHADDPD ymm, ymm, ymm/m256

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

Parameters

right
Vector256<Double>

Returns

Applies to

HorizontalAdd(Vector256<Single>, Vector256<Single>)

Source:
Avx.cs
Source:
Avx.cs
Source:
Avx.cs

__m256 _mm256_hadd_ps (__m256 a, __m256 b)

VHADDPS ymm, ymm, ymm/m256

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

Parameters

right
Vector256<Single>

Returns

Applies to