Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit f681717

Browse files
committed
Remove non-deterministic AVX APIs
1 parent 611e3df commit f681717

File tree

2 files changed

+0
-32
lines changed

2 files changed

+0
-32
lines changed

src/mscorlib/src/System/Runtime/Intrinsics/X86/Avx.PlatformNotSupported.cs

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1234,26 +1234,5 @@ public static class Avx
12341234
/// VXORPS ymm, ymm, ymm/m256
12351235
/// </summary>
12361236
public static Vector256<double> Xor(Vector256<double> left, Vector256<double> right) { throw new PlatformNotSupportedException(); }
1237-
1238-
/// <summary>
1239-
/// void _mm256_zeroall (void)
1240-
/// VZEROALL
1241-
/// </summary>
1242-
public static void ZeroAll() { throw new PlatformNotSupportedException(); }
1243-
/// <summary>
1244-
/// void _mm256_zeroupper (void)
1245-
/// VZEROUPPER
1246-
/// </summary>
1247-
public static void ZeroUpper() { throw new PlatformNotSupportedException(); }
1248-
1249-
/// <summary>
1250-
/// __m256d _mm256_zextpd128_pd256 (__m128d a)
1251-
/// HELPER - No Codegen
1252-
/// __m256 _mm256_zextps128_ps256 (__m128 a)
1253-
/// HELPER - No Codegen
1254-
/// __m256i _mm256_zextsi128_si256 (__m128i a)
1255-
/// HELPER - No Codegen
1256-
/// </summary>
1257-
public static Vector256<T> ZeroExtendToVector256<T>(Vector128<T> value) where T : struct { throw new PlatformNotSupportedException(); }
12581237
}
12591238
}

src/mscorlib/src/System/Runtime/Intrinsics/X86/Avx.cs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1445,16 +1445,5 @@ public static bool TestZ<T>(Vector256<T> left, Vector256<T> right) where T : str
14451445
/// VXORPS ymm, ymm, ymm/m256
14461446
/// </summary>
14471447
public static Vector256<double> Xor(Vector256<double> left, Vector256<double> right) => Xor(left, right);
1448-
1449-
/// <summary>
1450-
/// void _mm256_zeroall (void)
1451-
/// VZEROALL
1452-
/// </summary>
1453-
public static void ZeroAll() => ZeroAll();
1454-
/// <summary>
1455-
/// void _mm256_zeroupper (void)
1456-
/// VZEROUPPER
1457-
/// </summary>
1458-
public static void ZeroUpper() => ZeroUpper();
14591448
}
14601449
}

0 commit comments

Comments
 (0)