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)
__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)
Параметры
- mode
- FloatComparisonMode
Возвращаемое значение
Применяется к
Compare(Vector128<Single>, Vector128<Single>, FloatComparisonMode)
__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)
Параметры
- mode
- FloatComparisonMode
Возвращаемое значение
Применяется к
Compare(Vector256<Double>, Vector256<Double>, FloatComparisonMode)
__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)
Параметры
- mode
- FloatComparisonMode
Возвращаемое значение
Применяется к
Compare(Vector256<Single>, Vector256<Single>, FloatComparisonMode)
__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)
Параметры
- mode
- FloatComparisonMode