Avx512F.TernaryLogic 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
TernaryLogic(Vector512<UInt32>, Vector512<UInt32>, Vector512<UInt32>, Byte) |
__m512i _mm512_ternarylogic_epi32 (__m512i a, __m512i b, __m512i c, int imm) VPTERNLOGD zmm1 {k1}{z}, zmm2, zmm3/m512/m32bcst, imm8 |
TernaryLogic(Vector512<UInt16>, Vector512<UInt16>, Vector512<UInt16>, Byte) |
__m512i _mm512_ternarylogic_si512 (__m512i a, __m512i b, __m512i c, short imm) VPTERNLOGD zmm1 {k1}{z}, zmm2, zmm3/m512, imm8 The above native signature does not exist. We provide this additional overload for consistency with the other bitwise APIs. |
TernaryLogic(Vector512<Single>, Vector512<Single>, Vector512<Single>, Byte) |
__m512 _mm512_ternarylogic_ps (__m512 a, __m512 b, __m512 c, int imm) VPTERNLOGD zmm1 {k1}{z}, zmm2, zmm3/m512/m32bcst, imm8 The above native signature does not exist. We provide this additional overload for consistency with the other bitwise APIs. |
TernaryLogic(Vector512<SByte>, Vector512<SByte>, Vector512<SByte>, Byte) |
__m512i _mm512_ternarylogic_si512 (__m512i a, __m512i b, __m512i c, int imm) VPTERNLOGD zmm1 {k1}{z}, zmm2, zmm3/m512, imm8 The above native signature does not exist. We provide this additional overload for consistency with the other bitwise APIs. |
TernaryLogic(Vector512<UInt64>, Vector512<UInt64>, Vector512<UInt64>, Byte) |
__m512i _mm512_ternarylogic_epi64 (__m512i a, __m512i b, __m512i c, int imm) VPTERNLOGQ zmm1 {k1}{z}, zmm2, zmm3/m512/m64bcst, imm8 |
TernaryLogic(Vector512<Int32>, Vector512<Int32>, Vector512<Int32>, Byte) |
__m512i _mm512_ternarylogic_epi32 (__m512i a, __m512i b, __m512i c, int imm) VPTERNLOGD zmm1 {k1}{z}, zmm2, zmm3/m512/m32bcst, imm8 |
TernaryLogic(Vector512<Int16>, Vector512<Int16>, Vector512<Int16>, Byte) |
__m512i _mm512_ternarylogic_si512 (__m512i a, __m512i b, __m512i c, short imm) VPTERNLOGD zmm1 {k1}{z}, zmm2, zmm3/m512, imm8 The above native signature does not exist. We provide this additional overload for consistency with the other bitwise APIs. |
TernaryLogic(Vector512<Double>, Vector512<Double>, Vector512<Double>, Byte) |
__m512d _mm512_ternarylogic_pd (__m512d a, __m512d b, __m512d c, int imm) VPTERNLOGQ zmm1 {k1}{z}, zmm2, zmm3/m512/m64bcst, imm8 The above native signature does not exist. We provide this additional overload for consistency with the other bitwise APIs. |
TernaryLogic(Vector512<Byte>, Vector512<Byte>, Vector512<Byte>, Byte) |
__m512i _mm512_ternarylogic_si512 (__m512i a, __m512i b, __m512i c, byte imm) VPTERNLOGD zmm1 {k1}{z}, zmm2, zmm3/m512, imm8 The above native signature does not exist. We provide this additional overload for consistency with the other bitwise APIs. |
TernaryLogic(Vector512<Int64>, Vector512<Int64>, Vector512<Int64>, Byte) |
__m512i _mm512_ternarylogic_epi64 (__m512i a, __m512i b, __m512i c, int imm) VPTERNLOGQ zmm1 {k1}{z}, zmm2, zmm3/m512/m64bcst, imm8 |
TernaryLogic(Vector512<UInt32>, Vector512<UInt32>, Vector512<UInt32>, Byte)
- Source:
- Avx512F.cs
- Source:
- Avx512F.cs
__m512i _mm512_ternarylogic_epi32 (__m512i a, __m512i b, __m512i c, int imm)
VPTERNLOGD zmm1 {k1}{z}, zmm2, zmm3/m512/m32bcst, imm8
public:
static System::Runtime::Intrinsics::Vector512<System::UInt32> TernaryLogic(System::Runtime::Intrinsics::Vector512<System::UInt32> a, System::Runtime::Intrinsics::Vector512<System::UInt32> b, System::Runtime::Intrinsics::Vector512<System::UInt32> c, System::Byte control);
public static System.Runtime.Intrinsics.Vector512<uint> TernaryLogic (System.Runtime.Intrinsics.Vector512<uint> a, System.Runtime.Intrinsics.Vector512<uint> b, System.Runtime.Intrinsics.Vector512<uint> c, byte control);
static member TernaryLogic : System.Runtime.Intrinsics.Vector512<uint32> * System.Runtime.Intrinsics.Vector512<uint32> * System.Runtime.Intrinsics.Vector512<uint32> * byte -> System.Runtime.Intrinsics.Vector512<uint32>
Public Shared Function TernaryLogic (a As Vector512(Of UInteger), b As Vector512(Of UInteger), c As Vector512(Of UInteger), control As Byte) As Vector512(Of UInteger)
Parameters
- control
- Byte
Returns
Applies to
TernaryLogic(Vector512<UInt16>, Vector512<UInt16>, Vector512<UInt16>, Byte)
- Source:
- Avx512F.cs
- Source:
- Avx512F.cs
__m512i _mm512_ternarylogic_si512 (__m512i a, __m512i b, __m512i c, short imm)
VPTERNLOGD zmm1 {k1}{z}, zmm2, zmm3/m512, imm8 The above native signature does not exist. We provide this additional overload for consistency with the other bitwise APIs.
public:
static System::Runtime::Intrinsics::Vector512<System::UInt16> TernaryLogic(System::Runtime::Intrinsics::Vector512<System::UInt16> a, System::Runtime::Intrinsics::Vector512<System::UInt16> b, System::Runtime::Intrinsics::Vector512<System::UInt16> c, System::Byte control);
public static System.Runtime.Intrinsics.Vector512<ushort> TernaryLogic (System.Runtime.Intrinsics.Vector512<ushort> a, System.Runtime.Intrinsics.Vector512<ushort> b, System.Runtime.Intrinsics.Vector512<ushort> c, byte control);
static member TernaryLogic : System.Runtime.Intrinsics.Vector512<uint16> * System.Runtime.Intrinsics.Vector512<uint16> * System.Runtime.Intrinsics.Vector512<uint16> * byte -> System.Runtime.Intrinsics.Vector512<uint16>
Public Shared Function TernaryLogic (a As Vector512(Of UShort), b As Vector512(Of UShort), c As Vector512(Of UShort), control As Byte) As Vector512(Of UShort)
Parameters
- control
- Byte
Returns
Applies to
TernaryLogic(Vector512<Single>, Vector512<Single>, Vector512<Single>, Byte)
- Source:
- Avx512F.cs
- Source:
- Avx512F.cs
__m512 _mm512_ternarylogic_ps (__m512 a, __m512 b, __m512 c, int imm)
VPTERNLOGD zmm1 {k1}{z}, zmm2, zmm3/m512/m32bcst, imm8 The above native signature does not exist. We provide this additional overload for consistency with the other bitwise APIs.
public:
static System::Runtime::Intrinsics::Vector512<float> TernaryLogic(System::Runtime::Intrinsics::Vector512<float> a, System::Runtime::Intrinsics::Vector512<float> b, System::Runtime::Intrinsics::Vector512<float> c, System::Byte control);
public static System.Runtime.Intrinsics.Vector512<float> TernaryLogic (System.Runtime.Intrinsics.Vector512<float> a, System.Runtime.Intrinsics.Vector512<float> b, System.Runtime.Intrinsics.Vector512<float> c, byte control);
static member TernaryLogic : System.Runtime.Intrinsics.Vector512<single> * System.Runtime.Intrinsics.Vector512<single> * System.Runtime.Intrinsics.Vector512<single> * byte -> System.Runtime.Intrinsics.Vector512<single>
Public Shared Function TernaryLogic (a As Vector512(Of Single), b As Vector512(Of Single), c As Vector512(Of Single), control As Byte) As Vector512(Of Single)
Parameters
- control
- Byte
Returns
Applies to
TernaryLogic(Vector512<SByte>, Vector512<SByte>, Vector512<SByte>, Byte)
- Source:
- Avx512F.cs
- Source:
- Avx512F.cs
__m512i _mm512_ternarylogic_si512 (__m512i a, __m512i b, __m512i c, int imm)
VPTERNLOGD zmm1 {k1}{z}, zmm2, zmm3/m512, imm8 The above native signature does not exist. We provide this additional overload for consistency with the other bitwise APIs.
public:
static System::Runtime::Intrinsics::Vector512<System::SByte> TernaryLogic(System::Runtime::Intrinsics::Vector512<System::SByte> a, System::Runtime::Intrinsics::Vector512<System::SByte> b, System::Runtime::Intrinsics::Vector512<System::SByte> c, System::Byte control);
public static System.Runtime.Intrinsics.Vector512<sbyte> TernaryLogic (System.Runtime.Intrinsics.Vector512<sbyte> a, System.Runtime.Intrinsics.Vector512<sbyte> b, System.Runtime.Intrinsics.Vector512<sbyte> c, byte control);
static member TernaryLogic : System.Runtime.Intrinsics.Vector512<sbyte> * System.Runtime.Intrinsics.Vector512<sbyte> * System.Runtime.Intrinsics.Vector512<sbyte> * byte -> System.Runtime.Intrinsics.Vector512<sbyte>
Public Shared Function TernaryLogic (a As Vector512(Of SByte), b As Vector512(Of SByte), c As Vector512(Of SByte), control As Byte) As Vector512(Of SByte)
Parameters
- control
- Byte
Returns
Applies to
TernaryLogic(Vector512<UInt64>, Vector512<UInt64>, Vector512<UInt64>, Byte)
- Source:
- Avx512F.cs
- Source:
- Avx512F.cs
__m512i _mm512_ternarylogic_epi64 (__m512i a, __m512i b, __m512i c, int imm)
VPTERNLOGQ zmm1 {k1}{z}, zmm2, zmm3/m512/m64bcst, imm8
public:
static System::Runtime::Intrinsics::Vector512<System::UInt64> TernaryLogic(System::Runtime::Intrinsics::Vector512<System::UInt64> a, System::Runtime::Intrinsics::Vector512<System::UInt64> b, System::Runtime::Intrinsics::Vector512<System::UInt64> c, System::Byte control);
public static System.Runtime.Intrinsics.Vector512<ulong> TernaryLogic (System.Runtime.Intrinsics.Vector512<ulong> a, System.Runtime.Intrinsics.Vector512<ulong> b, System.Runtime.Intrinsics.Vector512<ulong> c, byte control);
static member TernaryLogic : System.Runtime.Intrinsics.Vector512<uint64> * System.Runtime.Intrinsics.Vector512<uint64> * System.Runtime.Intrinsics.Vector512<uint64> * byte -> System.Runtime.Intrinsics.Vector512<uint64>
Public Shared Function TernaryLogic (a As Vector512(Of ULong), b As Vector512(Of ULong), c As Vector512(Of ULong), control As Byte) As Vector512(Of ULong)
Parameters
- control
- Byte
Returns
Applies to
TernaryLogic(Vector512<Int32>, Vector512<Int32>, Vector512<Int32>, Byte)
- Source:
- Avx512F.cs
- Source:
- Avx512F.cs
__m512i _mm512_ternarylogic_epi32 (__m512i a, __m512i b, __m512i c, int imm)
VPTERNLOGD zmm1 {k1}{z}, zmm2, zmm3/m512/m32bcst, imm8
public:
static System::Runtime::Intrinsics::Vector512<int> TernaryLogic(System::Runtime::Intrinsics::Vector512<int> a, System::Runtime::Intrinsics::Vector512<int> b, System::Runtime::Intrinsics::Vector512<int> c, System::Byte control);
public static System.Runtime.Intrinsics.Vector512<int> TernaryLogic (System.Runtime.Intrinsics.Vector512<int> a, System.Runtime.Intrinsics.Vector512<int> b, System.Runtime.Intrinsics.Vector512<int> c, byte control);
static member TernaryLogic : System.Runtime.Intrinsics.Vector512<int> * System.Runtime.Intrinsics.Vector512<int> * System.Runtime.Intrinsics.Vector512<int> * byte -> System.Runtime.Intrinsics.Vector512<int>
Public Shared Function TernaryLogic (a As Vector512(Of Integer), b As Vector512(Of Integer), c As Vector512(Of Integer), control As Byte) As Vector512(Of Integer)
Parameters
- control
- Byte
Returns
Applies to
TernaryLogic(Vector512<Int16>, Vector512<Int16>, Vector512<Int16>, Byte)
- Source:
- Avx512F.cs
- Source:
- Avx512F.cs
__m512i _mm512_ternarylogic_si512 (__m512i a, __m512i b, __m512i c, short imm)
VPTERNLOGD zmm1 {k1}{z}, zmm2, zmm3/m512, imm8 The above native signature does not exist. We provide this additional overload for consistency with the other bitwise APIs.
public:
static System::Runtime::Intrinsics::Vector512<short> TernaryLogic(System::Runtime::Intrinsics::Vector512<short> a, System::Runtime::Intrinsics::Vector512<short> b, System::Runtime::Intrinsics::Vector512<short> c, System::Byte control);
public static System.Runtime.Intrinsics.Vector512<short> TernaryLogic (System.Runtime.Intrinsics.Vector512<short> a, System.Runtime.Intrinsics.Vector512<short> b, System.Runtime.Intrinsics.Vector512<short> c, byte control);
static member TernaryLogic : System.Runtime.Intrinsics.Vector512<int16> * System.Runtime.Intrinsics.Vector512<int16> * System.Runtime.Intrinsics.Vector512<int16> * byte -> System.Runtime.Intrinsics.Vector512<int16>
Public Shared Function TernaryLogic (a As Vector512(Of Short), b As Vector512(Of Short), c As Vector512(Of Short), control As Byte) As Vector512(Of Short)
Parameters
- control
- Byte
Returns
Applies to
TernaryLogic(Vector512<Double>, Vector512<Double>, Vector512<Double>, Byte)
- Source:
- Avx512F.cs
- Source:
- Avx512F.cs
__m512d _mm512_ternarylogic_pd (__m512d a, __m512d b, __m512d c, int imm)
VPTERNLOGQ zmm1 {k1}{z}, zmm2, zmm3/m512/m64bcst, imm8 The above native signature does not exist. We provide this additional overload for consistency with the other bitwise APIs.
public:
static System::Runtime::Intrinsics::Vector512<double> TernaryLogic(System::Runtime::Intrinsics::Vector512<double> a, System::Runtime::Intrinsics::Vector512<double> b, System::Runtime::Intrinsics::Vector512<double> c, System::Byte control);
public static System.Runtime.Intrinsics.Vector512<double> TernaryLogic (System.Runtime.Intrinsics.Vector512<double> a, System.Runtime.Intrinsics.Vector512<double> b, System.Runtime.Intrinsics.Vector512<double> c, byte control);
static member TernaryLogic : System.Runtime.Intrinsics.Vector512<double> * System.Runtime.Intrinsics.Vector512<double> * System.Runtime.Intrinsics.Vector512<double> * byte -> System.Runtime.Intrinsics.Vector512<double>
Public Shared Function TernaryLogic (a As Vector512(Of Double), b As Vector512(Of Double), c As Vector512(Of Double), control As Byte) As Vector512(Of Double)
Parameters
- control
- Byte
Returns
Applies to
TernaryLogic(Vector512<Byte>, Vector512<Byte>, Vector512<Byte>, Byte)
- Source:
- Avx512F.cs
- Source:
- Avx512F.cs
__m512i _mm512_ternarylogic_si512 (__m512i a, __m512i b, __m512i c, byte imm)
VPTERNLOGD zmm1 {k1}{z}, zmm2, zmm3/m512, imm8 The above native signature does not exist. We provide this additional overload for consistency with the other bitwise APIs.
public:
static System::Runtime::Intrinsics::Vector512<System::Byte> TernaryLogic(System::Runtime::Intrinsics::Vector512<System::Byte> a, System::Runtime::Intrinsics::Vector512<System::Byte> b, System::Runtime::Intrinsics::Vector512<System::Byte> c, System::Byte control);
public static System.Runtime.Intrinsics.Vector512<byte> TernaryLogic (System.Runtime.Intrinsics.Vector512<byte> a, System.Runtime.Intrinsics.Vector512<byte> b, System.Runtime.Intrinsics.Vector512<byte> c, byte control);
static member TernaryLogic : System.Runtime.Intrinsics.Vector512<byte> * System.Runtime.Intrinsics.Vector512<byte> * System.Runtime.Intrinsics.Vector512<byte> * byte -> System.Runtime.Intrinsics.Vector512<byte>
Public Shared Function TernaryLogic (a As Vector512(Of Byte), b As Vector512(Of Byte), c As Vector512(Of Byte), control As Byte) As Vector512(Of Byte)
Parameters
- control
- Byte
Returns
Applies to
TernaryLogic(Vector512<Int64>, Vector512<Int64>, Vector512<Int64>, Byte)
- Source:
- Avx512F.cs
- Source:
- Avx512F.cs
__m512i _mm512_ternarylogic_epi64 (__m512i a, __m512i b, __m512i c, int imm)
VPTERNLOGQ zmm1 {k1}{z}, zmm2, zmm3/m512/m64bcst, imm8
public:
static System::Runtime::Intrinsics::Vector512<long> TernaryLogic(System::Runtime::Intrinsics::Vector512<long> a, System::Runtime::Intrinsics::Vector512<long> b, System::Runtime::Intrinsics::Vector512<long> c, System::Byte control);
public static System.Runtime.Intrinsics.Vector512<long> TernaryLogic (System.Runtime.Intrinsics.Vector512<long> a, System.Runtime.Intrinsics.Vector512<long> b, System.Runtime.Intrinsics.Vector512<long> c, byte control);
static member TernaryLogic : System.Runtime.Intrinsics.Vector512<int64> * System.Runtime.Intrinsics.Vector512<int64> * System.Runtime.Intrinsics.Vector512<int64> * byte -> System.Runtime.Intrinsics.Vector512<int64>
Public Shared Function TernaryLogic (a As Vector512(Of Long), b As Vector512(Of Long), c As Vector512(Of Long), control As Byte) As Vector512(Of Long)
Parameters
- control
- Byte