Avx.CompareScalar Method

Definition

Overloads

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)

Source:
Avx.cs
Source:
Avx.cs
Source:
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)

Parameters

right
Vector128<Double>

Returns

Applies to

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

Source:
Avx.cs
Source:
Avx.cs
Source:
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)

Parameters

right
Vector128<Single>

Returns

Applies to