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


Avx.AddSubtract Метод

Определение

Перегрузки

AddSubtract(Vector256<Double>, Vector256<Double>)

__m256d _mm256_addsub_pd (__m256d a, __m256d b)

VADDSUBPD ymm, ymm, ymm/m256

AddSubtract(Vector256<Single>, Vector256<Single>)

__m256 _mm256_addsub_ps (__m256 a, __m256 b)

VADDSUBPS ymm, ymm, ymm/m256

AddSubtract(Vector256<Double>, Vector256<Double>)

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

__m256d _mm256_addsub_pd (__m256d a, __m256d b)

VADDSUBPD ymm, ymm, ymm/m256

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

Параметры

right
Vector256<Double>

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

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

AddSubtract(Vector256<Single>, Vector256<Single>)

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

__m256 _mm256_addsub_ps (__m256 a, __m256 b)

VADDSUBPS ymm, ymm, ymm/m256

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

Параметры

right
Vector256<Single>

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

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