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


Avx.HorizontalAdd Метод

Определение

Перегрузки

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

Исходный код:
Avx.cs
Исходный код:
Avx.cs
Исходный код:
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)

Параметры

right
Vector256<Double>

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

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

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

Исходный код:
Avx.cs
Исходный код:
Avx.cs
Исходный код:
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)

Параметры

right
Vector256<Single>

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

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