From f68171739bf19ed3641f47dfd2b2b6fb0584f073 Mon Sep 17 00:00:00 2001 From: Fei Peng Date: Fri, 23 Mar 2018 11:21:50 -0700 Subject: [PATCH] Remove non-deterministic AVX APIs --- .../Intrinsics/X86/Avx.PlatformNotSupported.cs | 21 --------------------- .../src/System/Runtime/Intrinsics/X86/Avx.cs | 11 ----------- 2 files changed, 32 deletions(-) diff --git a/src/mscorlib/src/System/Runtime/Intrinsics/X86/Avx.PlatformNotSupported.cs b/src/mscorlib/src/System/Runtime/Intrinsics/X86/Avx.PlatformNotSupported.cs index ca8314b..1fd61ec 100644 --- a/src/mscorlib/src/System/Runtime/Intrinsics/X86/Avx.PlatformNotSupported.cs +++ b/src/mscorlib/src/System/Runtime/Intrinsics/X86/Avx.PlatformNotSupported.cs @@ -1234,26 +1234,5 @@ namespace System.Runtime.Intrinsics.X86 /// VXORPS ymm, ymm, ymm/m256 /// public static Vector256 Xor(Vector256 left, Vector256 right) { throw new PlatformNotSupportedException(); } - - /// - /// void _mm256_zeroall (void) - /// VZEROALL - /// - public static void ZeroAll() { throw new PlatformNotSupportedException(); } - /// - /// void _mm256_zeroupper (void) - /// VZEROUPPER - /// - public static void ZeroUpper() { throw new PlatformNotSupportedException(); } - - /// - /// __m256d _mm256_zextpd128_pd256 (__m128d a) - /// HELPER - No Codegen - /// __m256 _mm256_zextps128_ps256 (__m128 a) - /// HELPER - No Codegen - /// __m256i _mm256_zextsi128_si256 (__m128i a) - /// HELPER - No Codegen - /// - public static Vector256 ZeroExtendToVector256(Vector128 value) where T : struct { throw new PlatformNotSupportedException(); } } } diff --git a/src/mscorlib/src/System/Runtime/Intrinsics/X86/Avx.cs b/src/mscorlib/src/System/Runtime/Intrinsics/X86/Avx.cs index f9e48f8..fdb349b 100644 --- a/src/mscorlib/src/System/Runtime/Intrinsics/X86/Avx.cs +++ b/src/mscorlib/src/System/Runtime/Intrinsics/X86/Avx.cs @@ -1445,16 +1445,5 @@ namespace System.Runtime.Intrinsics.X86 /// VXORPS ymm, ymm, ymm/m256 /// public static Vector256 Xor(Vector256 left, Vector256 right) => Xor(left, right); - - /// - /// void _mm256_zeroall (void) - /// VZEROALL - /// - public static void ZeroAll() => ZeroAll(); - /// - /// void _mm256_zeroupper (void) - /// VZEROUPPER - /// - public static void ZeroUpper() => ZeroUpper(); } } -- 2.7.4