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


Avx2.Sign Метод

Определение

Перегрузки

Sign(Vector256<SByte>, Vector256<SByte>)

__m256i _mm256_sign_epi8 (__m256i a, __m256i b)

VPSIGNB ymm, ymm, ymm/m256

Sign(Vector256<Int16>, Vector256<Int16>)

__m256i _mm256_sign_epi16 (__m256i a, __m256i b)

VPSIGNW ymm, ymm, ymm/m256

Sign(Vector256<Int32>, Vector256<Int32>)

__m256i _mm256_sign_epi32 (__m256i a, __m256i b)

VPSIGND ymm, ymm, ymm/m256

Sign(Vector256<SByte>, Vector256<SByte>)

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

__m256i _mm256_sign_epi8 (__m256i a, __m256i b)

VPSIGNB ymm, ymm, ymm/m256

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

Параметры

right
Vector256<SByte>

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

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

Sign(Vector256<Int16>, Vector256<Int16>)

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

__m256i _mm256_sign_epi16 (__m256i a, __m256i b)

VPSIGNW ymm, ymm, ymm/m256

public:
 static System::Runtime::Intrinsics::Vector256<short> Sign(System::Runtime::Intrinsics::Vector256<short> left, System::Runtime::Intrinsics::Vector256<short> right);
public static System.Runtime.Intrinsics.Vector256<short> Sign (System.Runtime.Intrinsics.Vector256<short> left, System.Runtime.Intrinsics.Vector256<short> right);
static member Sign : System.Runtime.Intrinsics.Vector256<int16> * System.Runtime.Intrinsics.Vector256<int16> -> System.Runtime.Intrinsics.Vector256<int16>
Public Shared Function Sign (left As Vector256(Of Short), right As Vector256(Of Short)) As Vector256(Of Short)

Параметры

right
Vector256<Int16>

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

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

Sign(Vector256<Int32>, Vector256<Int32>)

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

__m256i _mm256_sign_epi32 (__m256i a, __m256i b)

VPSIGND ymm, ymm, ymm/m256

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

Параметры

right
Vector256<Int32>

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

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