From 0dbe849b5527f37adc667372a1df5265353d3ec5 Mon Sep 17 00:00:00 2001 From: Fei Peng Date: Thu, 20 Sep 2018 12:11:25 -0700 Subject: [PATCH 1/2] Add missing overloads of hardware intrinsic --- .../ref/System.Runtime.Intrinsics.cs | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/src/System.Runtime.Intrinsics/ref/System.Runtime.Intrinsics.cs b/src/System.Runtime.Intrinsics/ref/System.Runtime.Intrinsics.cs index 43c71fa4cc56..17fdd49fd41c 100644 --- a/src/System.Runtime.Intrinsics/ref/System.Runtime.Intrinsics.cs +++ b/src/System.Runtime.Intrinsics/ref/System.Runtime.Intrinsics.cs @@ -457,6 +457,13 @@ internal Avx2() { } public static Vector256 AddSaturate(Vector256 left, Vector256 right) { throw null; } public static Vector256 AddSaturate(Vector256 left, Vector256 right) { throw null; } public static Vector256 AlignRight(Vector256 left, Vector256 right, byte mask) { throw null; } + public static Vector256 AlignRight(Vector256 left, Vector256 right, byte mask) { throw null; } + public static Vector256 AlignRight(Vector256 left, Vector256 right, byte mask) { throw null; } + public static Vector256 AlignRight(Vector256 left, Vector256 right, byte mask) { throw null; } + public static Vector256 AlignRight(Vector256 left, Vector256 right, byte mask) { throw null; } + public static Vector256 AlignRight(Vector256 left, Vector256 right, byte mask) { throw null; } + public static Vector256 AlignRight(Vector256 left, Vector256 right, byte mask) { throw null; } + public static Vector256 AlignRight(Vector256 left, Vector256 right, byte mask) { throw null; } public static Vector256 And(Vector256 left, Vector256 right) { throw null; } public static Vector256 And(Vector256 left, Vector256 right) { throw null; } public static Vector256 And(Vector256 left, Vector256 right) { throw null; } @@ -483,7 +490,21 @@ internal Avx2() { } public static Vector256 Blend(Vector256 left, Vector256 right, byte control) { throw null; } public static Vector256 BlendVariable(Vector256 left, Vector256 right, Vector256 mask) { throw null; } public static Vector256 BlendVariable(Vector256 left, Vector256 right, Vector256 mask) { throw null; } + public static Vector256 BlendVariable(Vector256 left, Vector256 right, Vector256 mask) { throw null; } + public static Vector256 BlendVariable(Vector256 left, Vector256 right, Vector256 mask) { throw null; } + public static Vector256 BlendVariable(Vector256 left, Vector256 right, Vector256 mask) { throw null; } + public static Vector256 BlendVariable(Vector256 left, Vector256 right, Vector256 mask) { throw null; } + public static Vector256 BlendVariable(Vector256 left, Vector256 right, Vector256 mask) { throw null; } + public static Vector256 BlendVariable(Vector256 left, Vector256 right, Vector256 mask) { throw null; } public static Vector128 BroadcastScalarToVector128(Vector128 value) where T : struct { throw null; } + public static unsafe Vector128 BroadcastScalarToVector128(byte* source) { throw null; } + public static unsafe Vector128 BroadcastScalarToVector128(sbyte* source) { throw null; } + public static unsafe Vector128 BroadcastScalarToVector128(short* source) { throw null; } + public static unsafe Vector128 BroadcastScalarToVector128(ushort* source) { throw null; } + public static unsafe Vector128 BroadcastScalarToVector128(int* source) { throw null; } + public static unsafe Vector128 BroadcastScalarToVector128(uint* source) { throw null; } + public static unsafe Vector128 BroadcastScalarToVector128(long* source) { throw null; } + public static unsafe Vector128 BroadcastScalarToVector128(ulong* source) { throw null; } public static Vector256 BroadcastScalarToVector256(Vector128 value) where T : struct { throw null; } public static unsafe Vector256 BroadcastVector128ToVector256(sbyte* address) { throw null; } public static unsafe Vector256 BroadcastVector128ToVector256(byte* address) { throw null; } @@ -653,7 +674,9 @@ internal Avx2() { } public static Vector256 MultiplyHigh(Vector256 left, Vector256 right) { throw null; } public static Vector256 MultiplyHighRoundScale(Vector256 left, Vector256 right) { throw null; } public static Vector256 MultiplyLow(Vector256 left, Vector256 right) { throw null; } + public static Vector256 MultiplyLow(Vector256 left, Vector256 right) { throw null; } public static Vector256 MultiplyLow(Vector256 left, Vector256 right) { throw null; } + public static Vector256 MultiplyLow(Vector256 left, Vector256 right) { throw null; } public static Vector256 Or(Vector256 left, Vector256 right) { throw null; } public static Vector256 Or(Vector256 left, Vector256 right) { throw null; } public static Vector256 Or(Vector256 left, Vector256 right) { throw null; } @@ -1202,6 +1225,7 @@ internal Sse2() { } public static Vector128 MultiplyHigh(Vector128 left, Vector128 right) { throw null; } public static Vector128 MultiplyAddAdjacent(Vector128 left, Vector128 right) { throw null; } public static Vector128 MultiplyLow(Vector128 left, Vector128 right) { throw null; } + public static Vector128 MultiplyLow(Vector128 left, Vector128 right) { throw null; } public static Vector128 Or(Vector128 left, Vector128 right) { throw null; } public static Vector128 Or(Vector128 left, Vector128 right) { throw null; } public static Vector128 Or(Vector128 left, Vector128 right) { throw null; } @@ -1400,6 +1424,12 @@ internal Sse41() { } public static Vector128 Blend(Vector128 left, Vector128 right, byte control) { throw null; } public static Vector128 BlendVariable(Vector128 left, Vector128 right, Vector128 mask) { throw null; } public static Vector128 BlendVariable(Vector128 left, Vector128 right, Vector128 mask) { throw null; } + public static Vector128 BlendVariable(Vector128 left, Vector128 right, Vector128 mask) { throw null; } + public static Vector128 BlendVariable(Vector128 left, Vector128 right, Vector128 mask) { throw null; } + public static Vector128 BlendVariable(Vector128 left, Vector128 right, Vector128 mask) { throw null; } + public static Vector128 BlendVariable(Vector128 left, Vector128 right, Vector128 mask) { throw null; } + public static Vector128 BlendVariable(Vector128 left, Vector128 right, Vector128 mask) { throw null; } + public static Vector128 BlendVariable(Vector128 left, Vector128 right, Vector128 mask) { throw null; } public static Vector128 BlendVariable(Vector128 left, Vector128 right, Vector128 mask) { throw null; } public static Vector128 BlendVariable(Vector128 left, Vector128 right, Vector128 mask) { throw null; } public static Vector128 Ceiling(Vector128 value) { throw null; } @@ -1455,6 +1485,7 @@ internal Sse41() { } public static Vector128 MultipleSumAbsoluteDifferences(Vector128 left, Vector128 right, byte mask) { throw null; } public static Vector128 Multiply(Vector128 left, Vector128 right) { throw null; } public static Vector128 MultiplyLow(Vector128 left, Vector128 right) { throw null; } + public static Vector128 MultiplyLow(Vector128 left, Vector128 right) { throw null; } public static Vector128 PackUnsignedSaturate(Vector128 left, Vector128 right) { throw null; } public static Vector128 RoundCurrentDirectionScalar(Vector128 value) { throw null; } public static Vector128 RoundCurrentDirectionScalar(Vector128 upper, Vector128 value) { throw null; } @@ -1593,6 +1624,13 @@ internal Ssse3() { } public static Vector128 Abs(Vector128 value) { throw null; } public static Vector128 Abs(Vector128 value) { throw null; } public static Vector128 AlignRight(Vector128 left, Vector128 right, byte mask) { throw null; } + public static Vector128 AlignRight(Vector128 left, Vector128 right, byte mask) { throw null; } + public static Vector128 AlignRight(Vector128 left, Vector128 right, byte mask) { throw null; } + public static Vector128 AlignRight(Vector128 left, Vector128 right, byte mask) { throw null; } + public static Vector128 AlignRight(Vector128 left, Vector128 right, byte mask) { throw null; } + public static Vector128 AlignRight(Vector128 left, Vector128 right, byte mask) { throw null; } + public static Vector128 AlignRight(Vector128 left, Vector128 right, byte mask) { throw null; } + public static Vector128 AlignRight(Vector128 left, Vector128 right, byte mask) { throw null; } public static Vector128 HorizontalAdd(Vector128 left, Vector128 right) { throw null; } public static Vector128 HorizontalAdd(Vector128 left, Vector128 right) { throw null; } public static Vector128 HorizontalAddSaturate(Vector128 left, Vector128 right) { throw null; } From 712839078449112cb1774145bc262895cc87793d Mon Sep 17 00:00:00 2001 From: Fei Peng Date: Mon, 24 Sep 2018 11:13:37 -0700 Subject: [PATCH 2/2] disable API baseline checks for the netcoreappaot --- Directory.Build.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Build.props b/Directory.Build.props index fa0dd608bb75..ba163801780f 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -100,7 +100,7 @@ Library Open - true + true true