Skip to content

Commit

Permalink
Hardware intrinsics tests in new style (#74886)
Browse files Browse the repository at this point in the history
Port all of the vector tests to the new xunit style specification
- Test disables need to use the attribute based form
- All tests are run on all architectures (This wasn't happening in the old system, but hopefully with test striping the need for this has gone away.)
  • Loading branch information
davidwrighton authored Nov 11, 2022
1 parent 2b1f57e commit 2095119
Show file tree
Hide file tree
Showing 5,958 changed files with 33,230 additions and 28,827 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
160 changes: 0 additions & 160 deletions src/tests/Common/testgrouping.proj
Original file line number Diff line number Diff line change
Expand Up @@ -25,161 +25,6 @@
<XUnitWrapperDll>$(TestBinDir)JIT\jit64\JIT.jit64.XUnitWrapper.dll</XUnitWrapperDll>
</TestGrouping>

<TestGrouping Include="$(TestBinDir)JIT\HardwareIntrinsics\Arm\AdvSimd*\**">
<TestGroup>JIT.HardwareIntrinsics.Arm.AdvSimd</TestGroup>
<XUnitWrapperDll>$(TestBinDir)JIT\HardwareIntrinsics\JIT.HardwareIntrinsics.XUnitWrapper.dll</XUnitWrapperDll>
</TestGrouping>

<TestGrouping Include="$(TestBinDir)JIT\HardwareIntrinsics\Arm\Aes*\**">
<TestGroup>JIT.HardwareIntrinsics.Arm.Aes</TestGroup>
<XUnitWrapperDll>$(TestBinDir)JIT\HardwareIntrinsics\JIT.HardwareIntrinsics.XUnitWrapper.dll</XUnitWrapperDll>
</TestGrouping>

<TestGrouping Include="$(TestBinDir)JIT\HardwareIntrinsics\Arm\ArmBase*\**">
<TestGroup>JIT.HardwareIntrinsics.Arm.ArmBase</TestGroup>
<XUnitWrapperDll>$(TestBinDir)JIT\HardwareIntrinsics\JIT.HardwareIntrinsics.XUnitWrapper.dll</XUnitWrapperDll>
</TestGrouping>

<TestGrouping Include="$(TestBinDir)JIT\HardwareIntrinsics\Arm\Crc32*\**">
<TestGroup>JIT.HardwareIntrinsics.Arm.Crc32</TestGroup>
<XUnitWrapperDll>$(TestBinDir)JIT\HardwareIntrinsics\JIT.HardwareIntrinsics.XUnitWrapper.dll</XUnitWrapperDll>
</TestGrouping>

<TestGrouping Include="$(TestBinDir)JIT\HardwareIntrinsics\Arm\Dp*\**">
<TestGroup>JIT.HardwareIntrinsics.Arm.Dp</TestGroup>
<XUnitWrapperDll>$(TestBinDir)JIT\HardwareIntrinsics\JIT.HardwareIntrinsics.XUnitWrapper.dll</XUnitWrapperDll>
</TestGrouping>

<TestGrouping Include="$(TestBinDir)JIT\HardwareIntrinsics\Arm\Rdm*\**">
<TestGroup>JIT.HardwareIntrinsics.Arm.Rdm</TestGroup>
<XUnitWrapperDll>$(TestBinDir)JIT\HardwareIntrinsics\JIT.HardwareIntrinsics.XUnitWrapper.dll</XUnitWrapperDll>
</TestGrouping>

<TestGrouping Include="$(TestBinDir)JIT\HardwareIntrinsics\Arm\Sha1*\**">
<TestGroup>JIT.HardwareIntrinsics.Arm.Sha1</TestGroup>
<XUnitWrapperDll>$(TestBinDir)JIT\HardwareIntrinsics\JIT.HardwareIntrinsics.XUnitWrapper.dll</XUnitWrapperDll>
</TestGrouping>

<TestGrouping Include="$(TestBinDir)JIT\HardwareIntrinsics\Arm\Sha256*\**">
<TestGroup>JIT.HardwareIntrinsics.Arm.Sha256</TestGroup>
<XUnitWrapperDll>$(TestBinDir)JIT\HardwareIntrinsics\JIT.HardwareIntrinsics.XUnitWrapper.dll</XUnitWrapperDll>
</TestGrouping>

<TestGrouping Include="$(TestBinDir)JIT\HardwareIntrinsics\General\NotSupported*\**">
<TestGroup>JIT.HardwareIntrinsics.General.NotSupported</TestGroup>
<XUnitWrapperDll>$(TestBinDir)JIT\HardwareIntrinsics\JIT.HardwareIntrinsics.XUnitWrapper.dll</XUnitWrapperDll>
</TestGrouping>

<TestGrouping Include="$(TestBinDir)JIT\HardwareIntrinsics\General\Vector64*\**">
<TestGroup>JIT.HardwareIntrinsics.General.Vector64</TestGroup>
<XUnitWrapperDll>$(TestBinDir)JIT\HardwareIntrinsics\JIT.HardwareIntrinsics.XUnitWrapper.dll</XUnitWrapperDll>
</TestGrouping>

<TestGrouping Include="$(TestBinDir)JIT\HardwareIntrinsics\General\Vector128*\**">
<TestGroup>JIT.HardwareIntrinsics.General.Vector128</TestGroup>
<XUnitWrapperDll>$(TestBinDir)JIT\HardwareIntrinsics\JIT.HardwareIntrinsics.XUnitWrapper.dll</XUnitWrapperDll>
</TestGrouping>

<TestGrouping Include="$(TestBinDir)JIT\HardwareIntrinsics\General\Vector256*\**">
<TestGroup>JIT.HardwareIntrinsics.General.Vector256</TestGroup>
<XUnitWrapperDll>$(TestBinDir)JIT\HardwareIntrinsics\JIT.HardwareIntrinsics.XUnitWrapper.dll</XUnitWrapperDll>
</TestGrouping>

<TestGrouping Include="$(TestBinDir)JIT\HardwareIntrinsics\X86\Aes*\**">
<TestGroup>JIT.HardwareIntrinsics.X86.Aes</TestGroup>
<XUnitWrapperDll>$(TestBinDir)JIT\HardwareIntrinsics\JIT.HardwareIntrinsics.XUnitWrapper.dll</XUnitWrapperDll>
</TestGrouping>

<TestGrouping Include="$(TestBinDir)JIT\HardwareIntrinsics\X86\Avx1*\**">
<TestGroup>JIT.HardwareIntrinsics.X86.Avx1</TestGroup>
<XUnitWrapperDll>$(TestBinDir)JIT\HardwareIntrinsics\JIT.HardwareIntrinsics.XUnitWrapper.dll</XUnitWrapperDll>
</TestGrouping>

<TestGrouping Include="$(TestBinDir)JIT\HardwareIntrinsics\X86\Avx2*\**">
<TestGroup>JIT.HardwareIntrinsics.X86.Avx2</TestGroup>
<XUnitWrapperDll>$(TestBinDir)JIT\HardwareIntrinsics\JIT.HardwareIntrinsics.XUnitWrapper.dll</XUnitWrapperDll>
</TestGrouping>

<TestGrouping Include="$(TestBinDir)JIT\HardwareIntrinsics\X86\AvxVnni*\**">
<TestGroup>JIT.HardwareIntrinsics.X86.AvxVnni</TestGroup>
<XUnitWrapperDll>$(TestBinDir)JIT\HardwareIntrinsics\JIT.HardwareIntrinsics.XUnitWrapper.dll</XUnitWrapperDll>
</TestGrouping>

<TestGrouping Include="$(TestBinDir)JIT\HardwareIntrinsics\X86\Bmi1*\**">
<TestGroup>JIT.HardwareIntrinsics.X86.Bmi1</TestGroup>
<XUnitWrapperDll>$(TestBinDir)JIT\HardwareIntrinsics\JIT.HardwareIntrinsics.XUnitWrapper.dll</XUnitWrapperDll>
</TestGrouping>

<TestGrouping Include="$(TestBinDir)JIT\HardwareIntrinsics\X86\Bmi2*\**">
<TestGroup>JIT.HardwareIntrinsics.X86.Bmi2</TestGroup>
<XUnitWrapperDll>$(TestBinDir)JIT\HardwareIntrinsics\JIT.HardwareIntrinsics.XUnitWrapper.dll</XUnitWrapperDll>
</TestGrouping>

<TestGrouping Include="$(TestBinDir)JIT\HardwareIntrinsics\X86\Fma*\**">
<TestGroup>JIT.HardwareIntrinsics.X86.Fma</TestGroup>
<XUnitWrapperDll>$(TestBinDir)JIT\HardwareIntrinsics\JIT.HardwareIntrinsics.XUnitWrapper.dll</XUnitWrapperDll>
</TestGrouping>

<TestGrouping Include="$(TestBinDir)JIT\HardwareIntrinsics\X86\General*\**">
<TestGroup>JIT.HardwareIntrinsics.X86.General</TestGroup>
<XUnitWrapperDll>$(TestBinDir)JIT\HardwareIntrinsics\JIT.HardwareIntrinsics.XUnitWrapper.dll</XUnitWrapperDll>
</TestGrouping>

<TestGrouping Include="$(TestBinDir)JIT\HardwareIntrinsics\X86\Lzcnt*\**">
<TestGroup>JIT.HardwareIntrinsics.X86.Lzcnt</TestGroup>
<XUnitWrapperDll>$(TestBinDir)JIT\HardwareIntrinsics\JIT.HardwareIntrinsics.XUnitWrapper.dll</XUnitWrapperDll>
</TestGrouping>

<TestGrouping Include="$(TestBinDir)JIT\HardwareIntrinsics\X86\Pclmulqdq*\**">
<TestGroup>JIT.HardwareIntrinsics.X86.Pclmulqdq</TestGroup>
<XUnitWrapperDll>$(TestBinDir)JIT\HardwareIntrinsics\JIT.HardwareIntrinsics.XUnitWrapper.dll</XUnitWrapperDll>
</TestGrouping>

<TestGrouping Include="$(TestBinDir)JIT\HardwareIntrinsics\X86\Popcnt*\**">
<TestGroup>JIT.HardwareIntrinsics.X86.Popcnt</TestGroup>
<XUnitWrapperDll>$(TestBinDir)JIT\HardwareIntrinsics\JIT.HardwareIntrinsics.XUnitWrapper.dll</XUnitWrapperDll>
</TestGrouping>

<TestGrouping Include="$(TestBinDir)JIT\HardwareIntrinsics\X86\Regression*\**">
<TestGroup>JIT.HardwareIntrinsics.X86.Regression</TestGroup>
<XUnitWrapperDll>$(TestBinDir)JIT\HardwareIntrinsics\JIT.HardwareIntrinsics.XUnitWrapper.dll</XUnitWrapperDll>
</TestGrouping>

<TestGrouping Include="$(TestBinDir)JIT\HardwareIntrinsics\X86\Sse1*\**">
<TestGroup>JIT.HardwareIntrinsics.X86.Sse1</TestGroup>
<XUnitWrapperDll>$(TestBinDir)JIT\HardwareIntrinsics\JIT.HardwareIntrinsics.XUnitWrapper.dll</XUnitWrapperDll>
</TestGrouping>

<TestGrouping Include="$(TestBinDir)JIT\HardwareIntrinsics\X86\Sse2*\**">
<TestGroup>JIT.HardwareIntrinsics.X86.Sse2</TestGroup>
<XUnitWrapperDll>$(TestBinDir)JIT\HardwareIntrinsics\JIT.HardwareIntrinsics.XUnitWrapper.dll</XUnitWrapperDll>
</TestGrouping>

<TestGrouping Include="$(TestBinDir)JIT\HardwareIntrinsics\X86\Sse3*\**">
<TestGroup>JIT.HardwareIntrinsics.X86.Sse3</TestGroup>
<XUnitWrapperDll>$(TestBinDir)JIT\HardwareIntrinsics\JIT.HardwareIntrinsics.XUnitWrapper.dll</XUnitWrapperDll>
</TestGrouping>

<TestGrouping Include="$(TestBinDir)JIT\HardwareIntrinsics\X86\Sse41*\**">
<TestGroup>JIT.HardwareIntrinsics.X86.Sse41</TestGroup>
<XUnitWrapperDll>$(TestBinDir)JIT\HardwareIntrinsics\JIT.HardwareIntrinsics.XUnitWrapper.dll</XUnitWrapperDll>
</TestGrouping>

<TestGrouping Include="$(TestBinDir)JIT\HardwareIntrinsics\X86\Sse42*\**">
<TestGroup>JIT.HardwareIntrinsics.X86.Sse42</TestGroup>
<XUnitWrapperDll>$(TestBinDir)JIT\HardwareIntrinsics\JIT.HardwareIntrinsics.XUnitWrapper.dll</XUnitWrapperDll>
</TestGrouping>

<TestGrouping Include="$(TestBinDir)JIT\HardwareIntrinsics\X86\Ssse3*\**">
<TestGroup>JIT.HardwareIntrinsics.X86.Ssse3</TestGroup>
<XUnitWrapperDll>$(TestBinDir)JIT\HardwareIntrinsics\JIT.HardwareIntrinsics.XUnitWrapper.dll</XUnitWrapperDll>
</TestGrouping>

<TestGrouping Include="$(TestBinDir)JIT\HardwareIntrinsics\X86\X86Base*\**">
<TestGroup>JIT.HardwareIntrinsics.X86.X86Base</TestGroup>
<XUnitWrapperDll>$(TestBinDir)JIT\HardwareIntrinsics\JIT.HardwareIntrinsics.XUnitWrapper.dll</XUnitWrapperDll>
</TestGrouping>

<TestGrouping Include="$(TestBinDir)JIT\Regression\CLR-x86-JIT\V1-M09*\**;
$(TestBinDir)JIT\Regression\CLR-x86-JIT\V1-M10*\**;
$(TestBinDir)JIT\Regression\CLR-x86-JIT\V1-M11*\**">
Expand All @@ -198,11 +43,6 @@
<XUnitWrapperDll>$(TestBinDir)JIT\Regression\JIT.Regression.XUnitWrapper.dll</XUnitWrapperDll>
</TestGrouping>

<TestGrouping Include="$(TestBinDir)JIT\HardwareIntrinsics\X86\S*\**">
<TestGroup>JIT.HardwareIntrinsics.S</TestGroup>
<XUnitWrapperDll>$(TestBinDir)JIT\HardwareIntrinsics\JIT.HardwareIntrinsics.XUnitWrapper.dll</XUnitWrapperDll>
</TestGrouping>

<TestGrouping Include="$(TestBinDir)Loader\classloader\generics\**">
<TestGroup>Loader.classloader.generics</TestGroup>
<XUnitWrapperDll>$(TestBinDir)Loader\classloader\Loader.classloader.XUnitWrapper.dll</XUnitWrapperDll>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.Arm;
using Xunit;

namespace JIT.HardwareIntrinsics.Arm
namespace JIT.HardwareIntrinsics.Arm._AdvSimd.Arm64
{
public static partial class Program
{
private static void Abs_Vector128_Double()
[Fact]
public static void Abs_Vector128_Double()
{
var test = new SimpleUnaryOpTest__Abs_Vector128_Double();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.Arm;
using Xunit;

namespace JIT.HardwareIntrinsics.Arm
namespace JIT.HardwareIntrinsics.Arm._AdvSimd.Arm64
{
public static partial class Program
{
private static void Abs_Vector128_Int64()
[Fact]
public static void Abs_Vector128_Int64()
{
var test = new SimpleUnaryOpTest__Abs_Vector128_Int64();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.Arm;
using Xunit;

namespace JIT.HardwareIntrinsics.Arm
namespace JIT.HardwareIntrinsics.Arm._AdvSimd.Arm64
{
public static partial class Program
{
private static void AbsSaturate_Vector128_Int64()
[Fact]
public static void AbsSaturate_Vector128_Int64()
{
var test = new SimpleUnaryOpTest__AbsSaturate_Vector128_Int64();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.Arm;
using Xunit;

namespace JIT.HardwareIntrinsics.Arm
namespace JIT.HardwareIntrinsics.Arm._AdvSimd.Arm64
{
public static partial class Program
{
private static void AbsSaturateScalar_Vector64_Int16()
[Fact]
public static void AbsSaturateScalar_Vector64_Int16()
{
var test = new SimpleUnaryOpTest__AbsSaturateScalar_Vector64_Int16();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.Arm;
using Xunit;

namespace JIT.HardwareIntrinsics.Arm
namespace JIT.HardwareIntrinsics.Arm._AdvSimd.Arm64
{
public static partial class Program
{
private static void AbsSaturateScalar_Vector64_Int32()
[Fact]
public static void AbsSaturateScalar_Vector64_Int32()
{
var test = new SimpleUnaryOpTest__AbsSaturateScalar_Vector64_Int32();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.Arm;
using Xunit;

namespace JIT.HardwareIntrinsics.Arm
namespace JIT.HardwareIntrinsics.Arm._AdvSimd.Arm64
{
public static partial class Program
{
private static void AbsSaturateScalar_Vector64_Int64()
[Fact]
public static void AbsSaturateScalar_Vector64_Int64()
{
var test = new SimpleUnaryOpTest__AbsSaturateScalar_Vector64_Int64();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.Arm;
using Xunit;

namespace JIT.HardwareIntrinsics.Arm
namespace JIT.HardwareIntrinsics.Arm._AdvSimd.Arm64
{
public static partial class Program
{
private static void AbsSaturateScalar_Vector64_SByte()
[Fact]
public static void AbsSaturateScalar_Vector64_SByte()
{
var test = new SimpleUnaryOpTest__AbsSaturateScalar_Vector64_SByte();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.Arm;
using Xunit;

namespace JIT.HardwareIntrinsics.Arm
namespace JIT.HardwareIntrinsics.Arm._AdvSimd.Arm64
{
public static partial class Program
{
private static void AbsScalar_Vector64_Int64()
[Fact]
public static void AbsScalar_Vector64_Int64()
{
var test = new SimpleUnaryOpTest__AbsScalar_Vector64_Int64();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.Arm;
using Xunit;

namespace JIT.HardwareIntrinsics.Arm
namespace JIT.HardwareIntrinsics.Arm._AdvSimd.Arm64
{
public static partial class Program
{
private static void AbsoluteCompareGreaterThan_Vector128_Double()
[Fact]
public static void AbsoluteCompareGreaterThan_Vector128_Double()
{
var test = new SimpleBinaryOpTest__AbsoluteCompareGreaterThan_Vector128_Double();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.Arm;
using Xunit;

namespace JIT.HardwareIntrinsics.Arm
namespace JIT.HardwareIntrinsics.Arm._AdvSimd.Arm64
{
public static partial class Program
{
private static void AbsoluteCompareGreaterThanOrEqual_Vector128_Double()
[Fact]
public static void AbsoluteCompareGreaterThanOrEqual_Vector128_Double()
{
var test = new SimpleBinaryOpTest__AbsoluteCompareGreaterThanOrEqual_Vector128_Double();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.Arm;
using Xunit;

namespace JIT.HardwareIntrinsics.Arm
namespace JIT.HardwareIntrinsics.Arm._AdvSimd.Arm64
{
public static partial class Program
{
private static void AbsoluteCompareGreaterThanOrEqualScalar_Vector64_Double()
[Fact]
public static void AbsoluteCompareGreaterThanOrEqualScalar_Vector64_Double()
{
var test = new SimpleBinaryOpTest__AbsoluteCompareGreaterThanOrEqualScalar_Vector64_Double();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.Arm;
using Xunit;

namespace JIT.HardwareIntrinsics.Arm
namespace JIT.HardwareIntrinsics.Arm._AdvSimd.Arm64
{
public static partial class Program
{
private static void AbsoluteCompareGreaterThanOrEqualScalar_Vector64_Single()
[Fact]
public static void AbsoluteCompareGreaterThanOrEqualScalar_Vector64_Single()
{
var test = new SimpleBinaryOpTest__AbsoluteCompareGreaterThanOrEqualScalar_Vector64_Single();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.Arm;
using Xunit;

namespace JIT.HardwareIntrinsics.Arm
namespace JIT.HardwareIntrinsics.Arm._AdvSimd.Arm64
{
public static partial class Program
{
private static void AbsoluteCompareGreaterThanScalar_Vector64_Double()
[Fact]
public static void AbsoluteCompareGreaterThanScalar_Vector64_Double()
{
var test = new SimpleBinaryOpTest__AbsoluteCompareGreaterThanScalar_Vector64_Double();

Expand Down
Loading

0 comments on commit 2095119

Please sign in to comment.