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


Sse3.AddSubtract Метод

Определение

Перегрузки

AddSubtract(Vector128<Double>, Vector128<Double>)

__m128d _mm_addsub_pd (__m128d a, __m128d b).

ADDSUBPD xmm, xmm/m128

AddSubtract(Vector128<Single>, Vector128<Single>)

__m128 _mm_addsub_ps (__m128 a, __m128 b).

ADDSUBPS xmm, xmm/m128

AddSubtract(Vector128<Double>, Vector128<Double>)

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

__m128d _mm_addsub_pd (__m128d a, __m128d b).

ADDSUBPD xmm, xmm/m128

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

Параметры

right
Vector128<Double>

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

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

AddSubtract(Vector128<Single>, Vector128<Single>)

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

__m128 _mm_addsub_ps (__m128 a, __m128 b).

ADDSUBPS xmm, xmm/m128

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

Параметры

right
Vector128<Single>

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

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