AdvSimd.Max 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
Max(Vector64<Byte>, Vector64<Byte>) |
uint8x8_t vmax_u8 (uint8x8_t a, uint8x8_t b) A32: VMAX.U8 Dd, Dn, Dm A64: UMAX Vd.8B, Vn.8B, Vm.8B |
Max(Vector64<UInt32>, Vector64<UInt32>) |
uint32x2_t vmax_u32 (uint32x2_t a, uint32x2_t b) A32: VMAX.U32 Dd, Dn, Dm A64: UMAX Vd.2S, Vn.2S, Vm.2S |
Max(Vector64<Single>, Vector64<Single>) |
float32x2_t vmax_f32 (float32x2_t a, float32x2_t b) A32: VMAX.F32 Dd, Dn, Dm A64: FMAX Vd.2S, Vn.2S, Vm.2S |
Max(Vector64<Int32>, Vector64<Int32>) |
int32x2_t vmax_s32 (int32x2_t a, int32x2_t b) A32: VMAX.S32 Dd, Dn, Dm A64: SMAX Vd.2S, Vn.2S, Vm.2S |
Max(Vector64<Int16>, Vector64<Int16>) |
int16x4_t vmax_s16 (int16x4_t a, int16x4_t b) A32: VMAX.S16 Dd, Dn, Dm A64: SMAX Vd.4H, Vn.4H, Vm.4H |
Max(Vector128<UInt32>, Vector128<UInt32>) |
uint32x4_t vmaxq_u32 (uint32x4_t a, uint32x4_t b) A32: VMAX.U32 Qd, Qn, Qm A64: UMAX Vd.4S, Vn.4S, Vm.4S |
Max(Vector64<SByte>, Vector64<SByte>) |
int8x8_t vmax_s8 (int8x8_t a, int8x8_t b) A32: VMAX.S8 Dd, Dn, Dm A64: SMAX Vd.8B, Vn.8B, Vm.8B |
Max(Vector128<Single>, Vector128<Single>) |
float32x4_t vmaxq_f32 (float32x4_t a, float32x4_t b) A32: VMAX.F32 Qd, Qn, Qm A64: FMAX Vd.4S, Vn.4S, Vm.4S |
Max(Vector128<UInt16>, Vector128<UInt16>) |
uint16x8_t vmaxq_u16 (uint16x8_t a, uint16x8_t b) A32: VMAX.U16 Qd, Qn, Qm A64: UMAX Vd.8H, Vn.8H, Vm.8H |
Max(Vector128<Byte>, Vector128<Byte>) |
uint8x16_t vmaxq_u8 (uint8x16_t a, uint8x16_t b) A32: VMAX.U8 Qd, Qn, Qm A64: UMAX Vd.16B, Vn.16B, Vm.16B |
Max(Vector128<Int16>, Vector128<Int16>) |
int16x8_t vmaxq_s16 (int16x8_t a, int16x8_t b) A32: VMAX.S16 Qd, Qn, Qm A64: SMAX Vd.8H, Vn.8H, Vm.8H |
Max(Vector64<UInt16>, Vector64<UInt16>) |
uint16x4_t vmax_u16 (uint16x4_t a, uint16x4_t b) A32: VMAX.U16 Dd, Dn, Dm A64: UMAX Vd.4H, Vn.4H, Vm.4H |
Max(Vector128<Int32>, Vector128<Int32>) |
int32x4_t vmaxq_s32 (int32x4_t a, int32x4_t b) A32: VMAX.S32 Qd, Qn, Qm A64: SMAX Vd.4S, Vn.4S, Vm.4S |
Max(Vector128<SByte>, Vector128<SByte>) |
int8x16_t vmaxq_s8 (int8x16_t a, int8x16_t b) A32: VMAX.S8 Qd, Qn, Qm A64: SMAX Vd.16B, Vn.16B, Vm.16B |
Max(Vector64<Byte>, Vector64<Byte>)
uint8x8_t vmax_u8 (uint8x8_t a, uint8x8_t b)
A32: VMAX.U8 Dd, Dn, Dm
A64: UMAX Vd.8B, Vn.8B, Vm.8B
public:
static System::Runtime::Intrinsics::Vector64<System::Byte> Max(System::Runtime::Intrinsics::Vector64<System::Byte> left, System::Runtime::Intrinsics::Vector64<System::Byte> right);
public static System.Runtime.Intrinsics.Vector64<byte> Max (System.Runtime.Intrinsics.Vector64<byte> left, System.Runtime.Intrinsics.Vector64<byte> right);
static member Max : System.Runtime.Intrinsics.Vector64<byte> * System.Runtime.Intrinsics.Vector64<byte> -> System.Runtime.Intrinsics.Vector64<byte>
Public Shared Function Max (left As Vector64(Of Byte), right As Vector64(Of Byte)) As Vector64(Of Byte)
Parameters
Returns
Applies to
Max(Vector64<UInt32>, Vector64<UInt32>)
uint32x2_t vmax_u32 (uint32x2_t a, uint32x2_t b)
A32: VMAX.U32 Dd, Dn, Dm
A64: UMAX Vd.2S, Vn.2S, Vm.2S
public:
static System::Runtime::Intrinsics::Vector64<System::UInt32> Max(System::Runtime::Intrinsics::Vector64<System::UInt32> left, System::Runtime::Intrinsics::Vector64<System::UInt32> right);
public static System.Runtime.Intrinsics.Vector64<uint> Max (System.Runtime.Intrinsics.Vector64<uint> left, System.Runtime.Intrinsics.Vector64<uint> right);
static member Max : System.Runtime.Intrinsics.Vector64<uint32> * System.Runtime.Intrinsics.Vector64<uint32> -> System.Runtime.Intrinsics.Vector64<uint32>
Public Shared Function Max (left As Vector64(Of UInteger), right As Vector64(Of UInteger)) As Vector64(Of UInteger)
Parameters
Returns
Applies to
Max(Vector64<Single>, Vector64<Single>)
float32x2_t vmax_f32 (float32x2_t a, float32x2_t b)
A32: VMAX.F32 Dd, Dn, Dm
A64: FMAX Vd.2S, Vn.2S, Vm.2S
public:
static System::Runtime::Intrinsics::Vector64<float> Max(System::Runtime::Intrinsics::Vector64<float> left, System::Runtime::Intrinsics::Vector64<float> right);
public static System.Runtime.Intrinsics.Vector64<float> Max (System.Runtime.Intrinsics.Vector64<float> left, System.Runtime.Intrinsics.Vector64<float> right);
static member Max : System.Runtime.Intrinsics.Vector64<single> * System.Runtime.Intrinsics.Vector64<single> -> System.Runtime.Intrinsics.Vector64<single>
Public Shared Function Max (left As Vector64(Of Single), right As Vector64(Of Single)) As Vector64(Of Single)
Parameters
Returns
Applies to
Max(Vector64<Int32>, Vector64<Int32>)
int32x2_t vmax_s32 (int32x2_t a, int32x2_t b)
A32: VMAX.S32 Dd, Dn, Dm
A64: SMAX Vd.2S, Vn.2S, Vm.2S
public:
static System::Runtime::Intrinsics::Vector64<int> Max(System::Runtime::Intrinsics::Vector64<int> left, System::Runtime::Intrinsics::Vector64<int> right);
public static System.Runtime.Intrinsics.Vector64<int> Max (System.Runtime.Intrinsics.Vector64<int> left, System.Runtime.Intrinsics.Vector64<int> right);
static member Max : System.Runtime.Intrinsics.Vector64<int> * System.Runtime.Intrinsics.Vector64<int> -> System.Runtime.Intrinsics.Vector64<int>
Public Shared Function Max (left As Vector64(Of Integer), right As Vector64(Of Integer)) As Vector64(Of Integer)
Parameters
Returns
Applies to
Max(Vector64<Int16>, Vector64<Int16>)
int16x4_t vmax_s16 (int16x4_t a, int16x4_t b)
A32: VMAX.S16 Dd, Dn, Dm
A64: SMAX Vd.4H, Vn.4H, Vm.4H
public:
static System::Runtime::Intrinsics::Vector64<short> Max(System::Runtime::Intrinsics::Vector64<short> left, System::Runtime::Intrinsics::Vector64<short> right);
public static System.Runtime.Intrinsics.Vector64<short> Max (System.Runtime.Intrinsics.Vector64<short> left, System.Runtime.Intrinsics.Vector64<short> right);
static member Max : System.Runtime.Intrinsics.Vector64<int16> * System.Runtime.Intrinsics.Vector64<int16> -> System.Runtime.Intrinsics.Vector64<int16>
Public Shared Function Max (left As Vector64(Of Short), right As Vector64(Of Short)) As Vector64(Of Short)
Parameters
Returns
Applies to
Max(Vector128<UInt32>, Vector128<UInt32>)
uint32x4_t vmaxq_u32 (uint32x4_t a, uint32x4_t b)
A32: VMAX.U32 Qd, Qn, Qm
A64: UMAX Vd.4S, Vn.4S, Vm.4S
public:
static System::Runtime::Intrinsics::Vector128<System::UInt32> Max(System::Runtime::Intrinsics::Vector128<System::UInt32> left, System::Runtime::Intrinsics::Vector128<System::UInt32> right);
public static System.Runtime.Intrinsics.Vector128<uint> Max (System.Runtime.Intrinsics.Vector128<uint> left, System.Runtime.Intrinsics.Vector128<uint> right);
static member Max : System.Runtime.Intrinsics.Vector128<uint32> * System.Runtime.Intrinsics.Vector128<uint32> -> System.Runtime.Intrinsics.Vector128<uint32>
Public Shared Function Max (left As Vector128(Of UInteger), right As Vector128(Of UInteger)) As Vector128(Of UInteger)
Parameters
Returns
Applies to
Max(Vector64<SByte>, Vector64<SByte>)
int8x8_t vmax_s8 (int8x8_t a, int8x8_t b)
A32: VMAX.S8 Dd, Dn, Dm
A64: SMAX Vd.8B, Vn.8B, Vm.8B
public:
static System::Runtime::Intrinsics::Vector64<System::SByte> Max(System::Runtime::Intrinsics::Vector64<System::SByte> left, System::Runtime::Intrinsics::Vector64<System::SByte> right);
public static System.Runtime.Intrinsics.Vector64<sbyte> Max (System.Runtime.Intrinsics.Vector64<sbyte> left, System.Runtime.Intrinsics.Vector64<sbyte> right);
static member Max : System.Runtime.Intrinsics.Vector64<sbyte> * System.Runtime.Intrinsics.Vector64<sbyte> -> System.Runtime.Intrinsics.Vector64<sbyte>
Public Shared Function Max (left As Vector64(Of SByte), right As Vector64(Of SByte)) As Vector64(Of SByte)
Parameters
Returns
Applies to
Max(Vector128<Single>, Vector128<Single>)
float32x4_t vmaxq_f32 (float32x4_t a, float32x4_t b)
A32: VMAX.F32 Qd, Qn, Qm
A64: FMAX Vd.4S, Vn.4S, Vm.4S
public:
static System::Runtime::Intrinsics::Vector128<float> Max(System::Runtime::Intrinsics::Vector128<float> left, System::Runtime::Intrinsics::Vector128<float> right);
public static System.Runtime.Intrinsics.Vector128<float> Max (System.Runtime.Intrinsics.Vector128<float> left, System.Runtime.Intrinsics.Vector128<float> right);
static member Max : System.Runtime.Intrinsics.Vector128<single> * System.Runtime.Intrinsics.Vector128<single> -> System.Runtime.Intrinsics.Vector128<single>
Public Shared Function Max (left As Vector128(Of Single), right As Vector128(Of Single)) As Vector128(Of Single)
Parameters
Returns
Applies to
Max(Vector128<UInt16>, Vector128<UInt16>)
uint16x8_t vmaxq_u16 (uint16x8_t a, uint16x8_t b)
A32: VMAX.U16 Qd, Qn, Qm
A64: UMAX Vd.8H, Vn.8H, Vm.8H
public:
static System::Runtime::Intrinsics::Vector128<System::UInt16> Max(System::Runtime::Intrinsics::Vector128<System::UInt16> left, System::Runtime::Intrinsics::Vector128<System::UInt16> right);
public static System.Runtime.Intrinsics.Vector128<ushort> Max (System.Runtime.Intrinsics.Vector128<ushort> left, System.Runtime.Intrinsics.Vector128<ushort> right);
static member Max : System.Runtime.Intrinsics.Vector128<uint16> * System.Runtime.Intrinsics.Vector128<uint16> -> System.Runtime.Intrinsics.Vector128<uint16>
Public Shared Function Max (left As Vector128(Of UShort), right As Vector128(Of UShort)) As Vector128(Of UShort)
Parameters
Returns
Applies to
Max(Vector128<Byte>, Vector128<Byte>)
uint8x16_t vmaxq_u8 (uint8x16_t a, uint8x16_t b)
A32: VMAX.U8 Qd, Qn, Qm
A64: UMAX Vd.16B, Vn.16B, Vm.16B
public:
static System::Runtime::Intrinsics::Vector128<System::Byte> Max(System::Runtime::Intrinsics::Vector128<System::Byte> left, System::Runtime::Intrinsics::Vector128<System::Byte> right);
public static System.Runtime.Intrinsics.Vector128<byte> Max (System.Runtime.Intrinsics.Vector128<byte> left, System.Runtime.Intrinsics.Vector128<byte> right);
static member Max : System.Runtime.Intrinsics.Vector128<byte> * System.Runtime.Intrinsics.Vector128<byte> -> System.Runtime.Intrinsics.Vector128<byte>
Public Shared Function Max (left As Vector128(Of Byte), right As Vector128(Of Byte)) As Vector128(Of Byte)
Parameters
Returns
Applies to
Max(Vector128<Int16>, Vector128<Int16>)
int16x8_t vmaxq_s16 (int16x8_t a, int16x8_t b)
A32: VMAX.S16 Qd, Qn, Qm
A64: SMAX Vd.8H, Vn.8H, Vm.8H
public:
static System::Runtime::Intrinsics::Vector128<short> Max(System::Runtime::Intrinsics::Vector128<short> left, System::Runtime::Intrinsics::Vector128<short> right);
public static System.Runtime.Intrinsics.Vector128<short> Max (System.Runtime.Intrinsics.Vector128<short> left, System.Runtime.Intrinsics.Vector128<short> right);
static member Max : System.Runtime.Intrinsics.Vector128<int16> * System.Runtime.Intrinsics.Vector128<int16> -> System.Runtime.Intrinsics.Vector128<int16>
Public Shared Function Max (left As Vector128(Of Short), right As Vector128(Of Short)) As Vector128(Of Short)
Parameters
Returns
Applies to
Max(Vector64<UInt16>, Vector64<UInt16>)
uint16x4_t vmax_u16 (uint16x4_t a, uint16x4_t b)
A32: VMAX.U16 Dd, Dn, Dm
A64: UMAX Vd.4H, Vn.4H, Vm.4H
public:
static System::Runtime::Intrinsics::Vector64<System::UInt16> Max(System::Runtime::Intrinsics::Vector64<System::UInt16> left, System::Runtime::Intrinsics::Vector64<System::UInt16> right);
public static System.Runtime.Intrinsics.Vector64<ushort> Max (System.Runtime.Intrinsics.Vector64<ushort> left, System.Runtime.Intrinsics.Vector64<ushort> right);
static member Max : System.Runtime.Intrinsics.Vector64<uint16> * System.Runtime.Intrinsics.Vector64<uint16> -> System.Runtime.Intrinsics.Vector64<uint16>
Public Shared Function Max (left As Vector64(Of UShort), right As Vector64(Of UShort)) As Vector64(Of UShort)
Parameters
Returns
Applies to
Max(Vector128<Int32>, Vector128<Int32>)
int32x4_t vmaxq_s32 (int32x4_t a, int32x4_t b)
A32: VMAX.S32 Qd, Qn, Qm
A64: SMAX Vd.4S, Vn.4S, Vm.4S
public:
static System::Runtime::Intrinsics::Vector128<int> Max(System::Runtime::Intrinsics::Vector128<int> left, System::Runtime::Intrinsics::Vector128<int> right);
public static System.Runtime.Intrinsics.Vector128<int> Max (System.Runtime.Intrinsics.Vector128<int> left, System.Runtime.Intrinsics.Vector128<int> right);
static member Max : System.Runtime.Intrinsics.Vector128<int> * System.Runtime.Intrinsics.Vector128<int> -> System.Runtime.Intrinsics.Vector128<int>
Public Shared Function Max (left As Vector128(Of Integer), right As Vector128(Of Integer)) As Vector128(Of Integer)
Parameters
Returns
Applies to
Max(Vector128<SByte>, Vector128<SByte>)
int8x16_t vmaxq_s8 (int8x16_t a, int8x16_t b)
A32: VMAX.S8 Qd, Qn, Qm
A64: SMAX Vd.16B, Vn.16B, Vm.16B
public:
static System::Runtime::Intrinsics::Vector128<System::SByte> Max(System::Runtime::Intrinsics::Vector128<System::SByte> left, System::Runtime::Intrinsics::Vector128<System::SByte> right);
public static System.Runtime.Intrinsics.Vector128<sbyte> Max (System.Runtime.Intrinsics.Vector128<sbyte> left, System.Runtime.Intrinsics.Vector128<sbyte> right);
static member Max : System.Runtime.Intrinsics.Vector128<sbyte> * System.Runtime.Intrinsics.Vector128<sbyte> -> System.Runtime.Intrinsics.Vector128<sbyte>
Public Shared Function Max (left As Vector128(Of SByte), right As Vector128(Of SByte)) As Vector128(Of SByte)