From b5931c6f93d10e2fc3fc9583e743e356a53d02db Mon Sep 17 00:00:00 2001 From: Egor Chesakov Date: Wed, 19 Feb 2020 14:39:31 -0800 Subject: [PATCH] Add "MaxNumberAcross" in AdvSimd.cs AdvSimd.PlatformNotSupported.cs --- .../Runtime/Intrinsics/Arm/AdvSimd.PlatformNotSupported.cs | 6 ++++++ .../src/System/Runtime/Intrinsics/Arm/AdvSimd.cs | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Arm/AdvSimd.PlatformNotSupported.cs b/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Arm/AdvSimd.PlatformNotSupported.cs index 3128e738d4110..a51ae8b59dfd4 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Arm/AdvSimd.PlatformNotSupported.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Arm/AdvSimd.PlatformNotSupported.cs @@ -682,6 +682,12 @@ internal Arm64() { } /// public static Vector128 MaxNumber(Vector128 left, Vector128 right) { throw new PlatformNotSupportedException(); } + /// + /// float32_t vmaxnmvq_f32 (float32x4_t a) + /// A64: FMAXNMV Sd, Vn.4S + /// + public static Vector64 MaxNumberAcross(Vector128 value) { throw new PlatformNotSupportedException(); } + /// /// float32x2_t vpmaxnm_f32 (float32x2_t a, float32x2_t b) /// A64: FMAXNMP Vd.2S, Vn.2S, Vm.2S diff --git a/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Arm/AdvSimd.cs b/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Arm/AdvSimd.cs index 4acf12ff83a30..112dc1e566d0f 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Arm/AdvSimd.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Arm/AdvSimd.cs @@ -684,6 +684,12 @@ internal Arm64() { } /// public static Vector128 MaxNumber(Vector128 left, Vector128 right) => MaxNumber(left, right); + /// + /// float32_t vmaxnmvq_f32 (float32x4_t a) + /// A64: FMAXNMV Sd, Vn.4S + /// + public static Vector64 MaxNumberAcross(Vector128 value) => MaxNumberAcross(value); + /// /// float32x2_t vpmaxnm_f32 (float32x2_t a, float32x2_t b) /// A64: FMAXNMP Vd.2S, Vn.2S, Vm.2S