Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/tests/JIT/BBT/Scenario4/Not-Int32.ilproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.IL">
<PropertyGroup>
<OutputType>Exe</OutputType>
<!-- Needed for mechanical merging of all remaining tests, this particular project may not actually need process isolation -->
<RequiresProcessIsolation>true</RequiresProcessIsolation>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
Expand Down
1 change: 0 additions & 1 deletion src/tests/JIT/CodeGenBringUpTests/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<Import Project="..\..\Directory.Merged.props" />
<Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.props, $(MSBuildThisFileDirectory)..))" />

<PropertyGroup>
Expand Down
1 change: 0 additions & 1 deletion src/tests/JIT/Directed/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\..\Directory.Merged.props" />
<Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.props, $(MSBuildThisFileDirectory)..))" />

<PropertyGroup>
Expand Down
1 change: 1 addition & 0 deletions src/tests/JIT/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<Project>
<Import Project="..\Directory.Merged.props" />
<Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.props, $(MSBuildThisFileDirectory)..))" />

<PropertyGroup>
Expand Down
1 change: 0 additions & 1 deletion src/tests/JIT/Generics/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<Import Project="..\..\Directory.Merged.props" />
<Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.props, $(MSBuildThisFileDirectory)..))" />

<PropertyGroup>
Expand Down
1 change: 0 additions & 1 deletion src/tests/JIT/HardwareIntrinsics/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<Import Project="..\..\Directory.Merged.props" />
<Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.props, $(MSBuildThisFileDirectory)..))" />

<ItemGroup>
Expand Down
1 change: 0 additions & 1 deletion src/tests/JIT/IL_Conformance/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\..\Directory.Merged.props" />
<Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.props, $(MSBuildThisFileDirectory)..))" />

<PropertyGroup>
Expand Down
6 changes: 4 additions & 2 deletions src/tests/JIT/Intrinsics/BMI1Intrinsics.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
using System;
using System.Runtime.CompilerServices;
using Xunit;

namespace BMI1Intrinsics
{
internal class Program
public class Program
{
private static int _errorCode = 100;

static int Main()
[Fact]
public static int TestEntryPoint()
{
// bmi1 expression are folded to hwintrinsics that return identical results

Expand Down
3 changes: 2 additions & 1 deletion src/tests/JIT/Intrinsics/BMI1Intrinsics_ro.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<!-- Needed for mechanical merging of all remaining tests, this particular project may not actually need process isolation -->
<RequiresProcessIsolation>true</RequiresProcessIsolation>
<DebugType>None</DebugType>
<Optimize>True</Optimize>
</PropertyGroup>
Expand Down
3 changes: 2 additions & 1 deletion src/tests/JIT/Intrinsics/BMI1Intrinsicss_r.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<!-- Needed for mechanical merging of all remaining tests, this particular project may not actually need process isolation -->
<RequiresProcessIsolation>true</RequiresProcessIsolation>
<DebugType>None</DebugType>
<Optimize />
</PropertyGroup>
Expand Down
6 changes: 4 additions & 2 deletions src/tests/JIT/Intrinsics/BinaryPrimitivesReverseEndianness.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Internal;
using Xunit;

namespace BinaryPrimitivesReverseEndianness
{
class Program
public class Program
{
public const int Pass = 100;
public const int Fail = 0;
Expand All @@ -33,7 +34,8 @@ class Program
private static readonly byte[] s_bufferLESigned64 = new byte[] { 0x10, 0x32, 0x54, 0x76, 0x98, 0xba, 0xdc, 0x1e };
private static readonly byte[] s_bufferBESigned64 = new byte[] { 0x1e, 0xdc, 0xba, 0x98, 0x76, 0x54, 0x32, 0x10 };

static int Main()
[Fact]
public static int TestEntryPoint()
{
/*
* CONST VALUE TESTS
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<!-- Needed for mechanical merging of all remaining tests, this particular project may not actually need process isolation -->
<RequiresProcessIsolation>true</RequiresProcessIsolation>
</PropertyGroup>
<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<!-- Needed for mechanical merging of all remaining tests, this particular project may not actually need process isolation -->
<RequiresProcessIsolation>true</RequiresProcessIsolation>
</PropertyGroup>
<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
Expand Down
4 changes: 4 additions & 0 deletions src/tests/JIT/Intrinsics/BitCast.il
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
// This test checks implicit floating point and small type casts in IL

.assembly extern System.Runtime {}
.assembly extern xunit.core {}
.assembly extern System.Console {}
.assembly Bitcast {}

Expand All @@ -14,6 +15,9 @@
.field private static int32 exitCode
.method public hidebysig static int32 Main() cil managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
// Code size 306 (0x132)
.maxstack 3
Expand Down
3 changes: 2 additions & 1 deletion src/tests/JIT/Intrinsics/BitCast.ilproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.IL">
<PropertyGroup>
<OutputType>Exe</OutputType>
<!-- Needed for mechanical merging of all remaining tests, this particular project may not actually need process isolation -->
<RequiresProcessIsolation>true</RequiresProcessIsolation>
</PropertyGroup>
<PropertyGroup>
<DebugType>PdbOnly</DebugType>
Expand Down
3 changes: 2 additions & 1 deletion src/tests/JIT/Intrinsics/BitOperationsIntrinsics_r.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<!-- Needed for mechanical merging of all remaining tests, this particular project may not actually need process isolation -->
<RequiresProcessIsolation>true</RequiresProcessIsolation>
<DebugType>None</DebugType>
<Optimize />
</PropertyGroup>
Expand Down
3 changes: 2 additions & 1 deletion src/tests/JIT/Intrinsics/BitOperationsIntrinsics_ro.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<!-- Needed for mechanical merging of all remaining tests, this particular project may not actually need process isolation -->
<RequiresProcessIsolation>true</RequiresProcessIsolation>
<DebugType>None</DebugType>
<Optimize>True</Optimize>
</PropertyGroup>
Expand Down
6 changes: 4 additions & 2 deletions src/tests/JIT/Intrinsics/BitOperationsPopCount.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,16 @@
using System;
using System.Numerics;
using System.Runtime.CompilerServices;
using Xunit;

namespace BitOperationsPopCountTest
{
class Program
public class Program
{
private static int _errorCode = 100;

static int Main()
[Fact]
public static int TestEntryPoint()
{
// PopCount calls with a constant argument are folded

Expand Down
8 changes: 6 additions & 2 deletions src/tests/JIT/Intrinsics/CreateSpan_il.il
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
.publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) // .?_....:
.ver 7:0:0:0
}
.assembly extern xunit.core {}
.assembly 'CreateSpan_il'
{
.custom instance void [System.Runtime]System.Runtime.CompilerServices.CompilationRelaxationsAttribute::.ctor(int32) = ( 01 00 08 00 00 00 00 00 )
Expand All @@ -37,12 +38,15 @@

// =============== CLASS MEMBERS DECLARATION ===================

.class private auto ansi beforefieldinit CreateSpanTest
.class public auto ansi beforefieldinit CreateSpanTest
extends [System.Runtime]System.Object
{
.method private hidebysig static int32
.method public hidebysig static int32
Main() cil managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
// Code size 47 (0x2f)
.maxstack 2
Expand Down
3 changes: 2 additions & 1 deletion src/tests/JIT/Intrinsics/CreateSpan_il.ilproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.IL">
<PropertyGroup>
<OutputType>Exe</OutputType>
<!-- Needed for mechanical merging of all remaining tests, this particular project may not actually need process isolation -->
<RequiresProcessIsolation>true</RequiresProcessIsolation>
</PropertyGroup>
<PropertyGroup>
<DebugType>PdbOnly</DebugType>
Expand Down
6 changes: 4 additions & 2 deletions src/tests/JIT/Intrinsics/MathCeilingDouble.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
//

using System;
using Xunit;

namespace MathCeilingDoubleTest
{
class Program
public class Program
{
public const int Pass = 100;
public const int Fail = 0;
Expand All @@ -31,7 +32,8 @@ class Program
8.8
};

unsafe static int Main()
[Fact]
public unsafe static int TestEntryPoint()
{
double localValue = 9.9;

Expand Down
3 changes: 2 additions & 1 deletion src/tests/JIT/Intrinsics/MathCeilingDouble_r.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<!-- Needed for mechanical merging of all remaining tests, this particular project may not actually need process isolation -->
<RequiresProcessIsolation>true</RequiresProcessIsolation>
</PropertyGroup>
<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
Expand Down
3 changes: 2 additions & 1 deletion src/tests/JIT/Intrinsics/MathCeilingDouble_ro.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<!-- Needed for mechanical merging of all remaining tests, this particular project may not actually need process isolation -->
<RequiresProcessIsolation>true</RequiresProcessIsolation>
</PropertyGroup>
<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
Expand Down
6 changes: 4 additions & 2 deletions src/tests/JIT/Intrinsics/MathCeilingSingle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
//

using System;
using Xunit;

namespace MathCeilingSingleTest
{
class Program
public class Program
{
public const int Pass = 100;
public const int Fail = 0;
Expand All @@ -31,7 +32,8 @@ class Program
8.8f
};

unsafe static int Main()
[Fact]
public unsafe static int TestEntryPoint()
{
float localValue = 9.9f;

Expand Down
3 changes: 2 additions & 1 deletion src/tests/JIT/Intrinsics/MathCeilingSingle_r.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<!-- Needed for mechanical merging of all remaining tests, this particular project may not actually need process isolation -->
<RequiresProcessIsolation>true</RequiresProcessIsolation>
</PropertyGroup>
<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
Expand Down
3 changes: 2 additions & 1 deletion src/tests/JIT/Intrinsics/MathCeilingSingle_ro.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<!-- Needed for mechanical merging of all remaining tests, this particular project may not actually need process isolation -->
<RequiresProcessIsolation>true</RequiresProcessIsolation>
</PropertyGroup>
<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
Expand Down
6 changes: 4 additions & 2 deletions src/tests/JIT/Intrinsics/MathFloorDouble.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
//

using System;
using Xunit;

namespace MathFloorDoubleTest
{
class Program
public class Program
{
public const int Pass = 100;
public const int Fail = 0;
Expand All @@ -31,7 +32,8 @@ class Program
8.8
};

unsafe static int Main()
[Fact]
public unsafe static int TestEntryPoint()
{
double localValue = 9.9;

Expand Down
3 changes: 2 additions & 1 deletion src/tests/JIT/Intrinsics/MathFloorDouble_r.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<!-- Needed for mechanical merging of all remaining tests, this particular project may not actually need process isolation -->
<RequiresProcessIsolation>true</RequiresProcessIsolation>
</PropertyGroup>
<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
Expand Down
3 changes: 2 additions & 1 deletion src/tests/JIT/Intrinsics/MathFloorDouble_ro.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<!-- Needed for mechanical merging of all remaining tests, this particular project may not actually need process isolation -->
<RequiresProcessIsolation>true</RequiresProcessIsolation>
</PropertyGroup>
<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
Expand Down
6 changes: 4 additions & 2 deletions src/tests/JIT/Intrinsics/MathFloorSingle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
//

using System;
using Xunit;

namespace MathFloorSingleTest
{
class Program
public class Program
{
public const int Pass = 100;
public const int Fail = 0;
Expand All @@ -31,7 +32,8 @@ class Program
8.8f
};

unsafe static int Main()
[Fact]
public unsafe static int TestEntryPoint()
{
float localValue = 9.9f;

Expand Down
3 changes: 2 additions & 1 deletion src/tests/JIT/Intrinsics/MathFloorSingle_r.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<!-- Needed for mechanical merging of all remaining tests, this particular project may not actually need process isolation -->
<RequiresProcessIsolation>true</RequiresProcessIsolation>
</PropertyGroup>
<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
Expand Down
3 changes: 2 additions & 1 deletion src/tests/JIT/Intrinsics/MathFloorSingle_ro.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<!-- Needed for mechanical merging of all remaining tests, this particular project may not actually need process isolation -->
<RequiresProcessIsolation>true</RequiresProcessIsolation>
</PropertyGroup>
<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
Expand Down
Loading