共用方式為


Avx.CompareScalar 方法

定義

多載

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

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

VCMPSS xmm, xmm, xmm/m32, imm8

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

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

VCMPSD xmm, xmm, xmm/m64, imm8

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

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

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

VCMPSS xmm, xmm, xmm/m32, imm8

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

參數

right
Vector128<Double>

傳回

適用於

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

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

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

VCMPSD xmm, xmm, xmm/m64, imm8

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

參數

right
Vector128<Single>

傳回

適用於