Avx2.Abs 方法

定义

重载

Abs(Vector256<Int16>)

__m256i _mm256_abs_epi16 (__m256i a)

VPABSW ymm, ymm/m256

Abs(Vector256<Int32>)

__m256i _mm256_abs_epi32 (__m256i a)

VPABSD ymm, ymm/m256

Abs(Vector256<SByte>)

__m256i _mm256_abs_epi8 (__m256i a)

VPABSB ymm, ymm/m256

Abs(Vector256<Int16>)

Source:
Avx2.cs
Source:
Avx2.cs
Source:
Avx2.cs

__m256i _mm256_abs_epi16 (__m256i a)

VPABSW ymm, ymm/m256

public:
 static System::Runtime::Intrinsics::Vector256<System::UInt16> Abs(System::Runtime::Intrinsics::Vector256<short> value);
public static System.Runtime.Intrinsics.Vector256<ushort> Abs (System.Runtime.Intrinsics.Vector256<short> value);
static member Abs : System.Runtime.Intrinsics.Vector256<int16> -> System.Runtime.Intrinsics.Vector256<uint16>
Public Shared Function Abs (value As Vector256(Of Short)) As Vector256(Of UShort)

参数

value
Vector256<Int16>

返回

适用于

Abs(Vector256<Int32>)

Source:
Avx2.cs
Source:
Avx2.cs
Source:
Avx2.cs

__m256i _mm256_abs_epi32 (__m256i a)

VPABSD ymm, ymm/m256

public:
 static System::Runtime::Intrinsics::Vector256<System::UInt32> Abs(System::Runtime::Intrinsics::Vector256<int> value);
public static System.Runtime.Intrinsics.Vector256<uint> Abs (System.Runtime.Intrinsics.Vector256<int> value);
static member Abs : System.Runtime.Intrinsics.Vector256<int> -> System.Runtime.Intrinsics.Vector256<uint32>
Public Shared Function Abs (value As Vector256(Of Integer)) As Vector256(Of UInteger)

参数

value
Vector256<Int32>

返回

适用于

Abs(Vector256<SByte>)

Source:
Avx2.cs
Source:
Avx2.cs
Source:
Avx2.cs

__m256i _mm256_abs_epi8 (__m256i a)

VPABSB ymm, ymm/m256

public:
 static System::Runtime::Intrinsics::Vector256<System::Byte> Abs(System::Runtime::Intrinsics::Vector256<System::SByte> value);
public static System.Runtime.Intrinsics.Vector256<byte> Abs (System.Runtime.Intrinsics.Vector256<sbyte> value);
static member Abs : System.Runtime.Intrinsics.Vector256<sbyte> -> System.Runtime.Intrinsics.Vector256<byte>
Public Shared Function Abs (value As Vector256(Of SByte)) As Vector256(Of Byte)

参数

value
Vector256<SByte>

返回

适用于