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


Avx2.Average Метод

Определение

Перегрузки

Average(Vector256<Byte>, Vector256<Byte>)

__m256i _mm256_avg_epu8 (__m256i a, __m256i b)

VPAVGB ymm, ymm, ymm/m256

Average(Vector256<UInt16>, Vector256<UInt16>)

__m256i _mm256_avg_epu16 (__m256i a, __m256i b)

VPAVGW ymm, ymm, ymm/m256

Average(Vector256<Byte>, Vector256<Byte>)

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

__m256i _mm256_avg_epu8 (__m256i a, __m256i b)

VPAVGB ymm, ymm, ymm/m256

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

Параметры

left
Vector256<Byte>
right
Vector256<Byte>

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

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

Average(Vector256<UInt16>, Vector256<UInt16>)

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

__m256i _mm256_avg_epu16 (__m256i a, __m256i b)

VPAVGW ymm, ymm, ymm/m256

public:
 static System::Runtime::Intrinsics::Vector256<System::UInt16> Average(System::Runtime::Intrinsics::Vector256<System::UInt16> left, System::Runtime::Intrinsics::Vector256<System::UInt16> right);
public static System.Runtime.Intrinsics.Vector256<ushort> Average (System.Runtime.Intrinsics.Vector256<ushort> left, System.Runtime.Intrinsics.Vector256<ushort> right);
static member Average : System.Runtime.Intrinsics.Vector256<uint16> * System.Runtime.Intrinsics.Vector256<uint16> -> System.Runtime.Intrinsics.Vector256<uint16>
Public Shared Function Average (left As Vector256(Of UShort), right As Vector256(Of UShort)) As Vector256(Of UShort)

Параметры

right
Vector256<UInt16>

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

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