共用方式為


Avx.Compare 方法

定義

多載

Compare(Vector128<Double>, Vector128<Double>, FloatComparisonMode)

__m128d _mm_cmp_pd (__m128d a, __m128d b, const int imm8)

VCMPPD xmm, xmm, xmm/m128, imm8

Compare(Vector128<Single>, Vector128<Single>, FloatComparisonMode)

__m128 _mm_cmp_ps (__m128 a, __m128 b, const int imm8)

VCMPPS xmm, xmm, xmm/m128, imm8

Compare(Vector256<Double>, Vector256<Double>, FloatComparisonMode)

__m256d _mm256_cmp_pd (__m256d a, __m256d b, const int imm8)

VCMPPD ymm, ymm, ymm/m256, imm8

Compare(Vector256<Single>, Vector256<Single>, FloatComparisonMode)

__m256 _mm256_cmp_ps (__m256 a, __m256 b, const int imm8)

VCMPPS ymm, ymm, ymm/m256, imm8

Compare(Vector128<Double>, Vector128<Double>, FloatComparisonMode)

來源:
Avx.cs
來源:
Avx.cs
來源:
Avx.cs

__m128d _mm_cmp_pd (__m128d a, __m128d b, const int imm8)

VCMPPD xmm, xmm, xmm/m128, imm8

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

參數

right
Vector128<Double>

傳回

適用於

Compare(Vector128<Single>, Vector128<Single>, FloatComparisonMode)

來源:
Avx.cs
來源:
Avx.cs
來源:
Avx.cs

__m128 _mm_cmp_ps (__m128 a, __m128 b, const int imm8)

VCMPPS xmm, xmm, xmm/m128, imm8

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

參數

right
Vector128<Single>

傳回

適用於

Compare(Vector256<Double>, Vector256<Double>, FloatComparisonMode)

來源:
Avx.cs
來源:
Avx.cs
來源:
Avx.cs

__m256d _mm256_cmp_pd (__m256d a, __m256d b, const int imm8)

VCMPPD ymm, ymm, ymm/m256, imm8

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

參數

right
Vector256<Double>

傳回

適用於

Compare(Vector256<Single>, Vector256<Single>, FloatComparisonMode)

來源:
Avx.cs
來源:
Avx.cs
來源:
Avx.cs

__m256 _mm256_cmp_ps (__m256 a, __m256 b, const int imm8)

VCMPPS ymm, ymm, ymm/m256, imm8

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

參數

right
Vector256<Single>

傳回

適用於