Adding tests for the new apis to convert between S.Numerics and S.R.Intrinsic vectors...
authorTanner Gooding <tagoo@outlook.com>
Wed, 13 Nov 2019 23:41:01 +0000 (15:41 -0800)
committerCarol Eidt <carol.eidt@microsoft.com>
Wed, 13 Nov 2019 23:41:01 +0000 (15:41 -0800)
commitfee95aed7a9f8ee310bbab2f529d3d31aaee71f6
treeb316cd2fa251948c3b8974ada4cdf21c0d9818bb
parent813c9c01fe87b6762f0dcdd45d12af31c13b44dc
Adding tests for the new apis to convert between S.Numerics and S.R.Intrinsic vectors (dotnet/coreclr#27481)

* Updating Vector128.AsVector3 to have a functioning implementation

* Adding test template metadata covering the new methods for converting between S.Numerics and S.R.Intrinsics

* Regenerating the existing tests

* Generating the new Vector conversion tests

Commit migrated from https://github.com/dotnet/coreclr/commit/4b902f244e529b7596b1501eea6fdf27753b91ca
53 files changed:
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Shared/GenerateTests.csx
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Shared/VectorAsNumericsTest.template [new file with mode: 0644]
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Shared/VectorAsNumericsVectorTest.template [new file with mode: 0644]
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector128_1/As.Byte.cs
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector128_1/As.Double.cs
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector128_1/As.Int16.cs
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector128_1/As.Int32.cs
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector128_1/As.Int64.cs
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector128_1/As.SByte.cs
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector128_1/As.Single.cs
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector128_1/As.UInt16.cs
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector128_1/As.UInt32.cs
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector128_1/As.UInt64.cs
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector128_1/AsVector.Byte.cs [new file with mode: 0644]
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector128_1/AsVector.Double.cs [new file with mode: 0644]
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector128_1/AsVector.Int16.cs [new file with mode: 0644]
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector128_1/AsVector.Int32.cs [new file with mode: 0644]
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector128_1/AsVector.Int64.cs [new file with mode: 0644]
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector128_1/AsVector.SByte.cs [new file with mode: 0644]
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector128_1/AsVector.Single.cs [new file with mode: 0644]
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector128_1/AsVector.UInt16.cs [new file with mode: 0644]
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector128_1/AsVector.UInt32.cs [new file with mode: 0644]
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector128_1/AsVector.UInt64.cs [new file with mode: 0644]
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector128_1/AsVector2.Single.cs [new file with mode: 0644]
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector128_1/AsVector3.Single.cs [new file with mode: 0644]
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector128_1/AsVector4.Single.cs [new file with mode: 0644]
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector128_1/Program.Vector128_1.cs
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector128_1/Vector128_1_r.csproj
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector128_1/Vector128_1_ro.csproj
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector256_1/As.Byte.cs
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector256_1/As.Double.cs
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector256_1/As.Int16.cs
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector256_1/As.Int32.cs
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector256_1/As.Int64.cs
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector256_1/As.SByte.cs
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector256_1/As.Single.cs
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector256_1/As.UInt16.cs
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector256_1/As.UInt32.cs
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector256_1/As.UInt64.cs
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector256_1/AsVector.Byte.cs [new file with mode: 0644]
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector256_1/AsVector.Double.cs [new file with mode: 0644]
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector256_1/AsVector.Int16.cs [new file with mode: 0644]
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector256_1/AsVector.Int32.cs [new file with mode: 0644]
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector256_1/AsVector.Int64.cs [new file with mode: 0644]
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector256_1/AsVector.SByte.cs [new file with mode: 0644]
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector256_1/AsVector.Single.cs [new file with mode: 0644]
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector256_1/AsVector.UInt16.cs [new file with mode: 0644]
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector256_1/AsVector.UInt32.cs [new file with mode: 0644]
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector256_1/AsVector.UInt64.cs [new file with mode: 0644]
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector256_1/Program.Vector256_1.cs
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector256_1/Vector256_1_r.csproj
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector256_1/Vector256_1_ro.csproj
src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Vector128.cs