Avx.Compare Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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)
- Source:
- Avx.cs
- Source:
- Avx.cs
- Source:
- 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)
Parameters
- mode
- FloatComparisonMode
Returns
Applies to
Compare(Vector128<Single>, Vector128<Single>, FloatComparisonMode)
- Source:
- Avx.cs
- Source:
- Avx.cs
- Source:
- 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)
Parameters
- mode
- FloatComparisonMode
Returns
Applies to
Compare(Vector256<Double>, Vector256<Double>, FloatComparisonMode)
- Source:
- Avx.cs
- Source:
- Avx.cs
- Source:
- 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)
Parameters
- mode
- FloatComparisonMode
Returns
Applies to
Compare(Vector256<Single>, Vector256<Single>, FloatComparisonMode)
- Source:
- Avx.cs
- Source:
- Avx.cs
- Source:
- 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)
Parameters
- mode
- FloatComparisonMode
Returns
Applies to
.NET