summaryrefslogtreecommitdiff
path: root/tests/src/JIT/Regression/JitBlue/DevDiv_377155
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/JIT/Regression/JitBlue/DevDiv_377155')
-rw-r--r--tests/src/JIT/Regression/JitBlue/DevDiv_377155/DevDiv_377155.il75
-rw-r--r--tests/src/JIT/Regression/JitBlue/DevDiv_377155/DevDiv_377155.ilproj51
2 files changed, 126 insertions, 0 deletions
diff --git a/tests/src/JIT/Regression/JitBlue/DevDiv_377155/DevDiv_377155.il b/tests/src/JIT/Regression/JitBlue/DevDiv_377155/DevDiv_377155.il
new file mode 100644
index 0000000000..4c1ab4a125
--- /dev/null
+++ b/tests/src/JIT/Regression/JitBlue/DevDiv_377155/DevDiv_377155.il
@@ -0,0 +1,75 @@
+// ProcessName - 'ILGEN'
+.assembly extern mscorlib{}
+.assembly DevDiv_377155{}
+.class C extends [mscorlib]System.Object
+{
+ .method static float32 M() cil managed noinlining
+ {
+ .maxstack 65535
+ .locals init (float64, native unsigned int, native int, char, unsigned int64, bool)
+
+ ldloc.s 0x04
+ conv.ovf.u8.un
+ conv.ovf.u2.un
+ ldc.r8 float64(0x9eda41f595fa8ca8)
+ conv.r4
+ conv.u8
+ pop
+ ldc.i4 0x1de50978
+ ldloc 0x0004
+ ldloc.s 0x04
+ or
+ ldc.i8 0x2d9c5178675b7af5
+ ldloc 0x0004
+ ldloc 0x0004
+ mul
+ ldloc.s 0x04
+ conv.ovf.u2.un
+ shr.un
+ not
+ not
+ or
+ cgt.un
+ ldc.i4 0xbdc937ef
+ ldloc.s 0x05
+ add.ovf.un
+ clt.un
+ shl
+ not
+ neg
+ shr.un
+ conv.r4
+ ckfinite
+ ldloc.s 0x00
+ clt.un
+ nop
+ brtrue IL_0052
+ nop
+IL_0052:
+ ldloc 0x0000
+ ret
+ }
+
+ .method static int32 Main() cil managed
+ {
+ .entrypoint
+
+ .try
+ {
+ call float32 C::M()
+ pop
+ leave.s done
+ }
+ catch [mscorlib]System.Exception
+ {
+ pop
+ leave.s done
+ }
+
+ done:
+ ldc.i4 100
+ ret
+ }
+
+}
+// Dumped 1
diff --git a/tests/src/JIT/Regression/JitBlue/DevDiv_377155/DevDiv_377155.ilproj b/tests/src/JIT/Regression/JitBlue/DevDiv_377155/DevDiv_377155.ilproj
new file mode 100644
index 0000000000..32d609496e
--- /dev/null
+++ b/tests/src/JIT/Regression/JitBlue/DevDiv_377155/DevDiv_377155.ilproj
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <AssemblyName>$(MSBuildProjectName)</AssemblyName>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
+ <OutputType>Exe</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <FileAlignment>512</FileAlignment>
+ <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+ <ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages</ReferencePath>
+ <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
+ <NuGetPackageImportStamp>7a9bfb7d</NuGetPackageImportStamp>
+ </PropertyGroup>
+ <!-- Default configurations to help VS understand the configurations -->
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ </PropertyGroup>
+ <ItemGroup>
+ <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
+ <Visible>False</Visible>
+ </CodeAnalysisDependentAssemblyPaths>
+ </ItemGroup>
+ <PropertyGroup>
+ <DebugType>None</DebugType>
+ <Optimize>True</Optimize>
+ </PropertyGroup>
+ <ItemGroup>
+ <Compile Include="DevDiv_377155.il" />
+ </ItemGroup>
+ <PropertyGroup>
+ <CLRTestBatchPreCommands><![CDATA[
+$(CLRTestBatchPreCommands)
+set COMPlus_JitStressRegs=0x200
+]]></CLRTestBatchPreCommands>
+ <BashCLRTestPreCommands><![CDATA[
+$(BashCLRTestPreCommands)
+export COMPlus_JitStressRegs=0x200
+]]></BashCLRTestPreCommands>
+ </PropertyGroup>
+ <ItemGroup>
+ <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
+ </ItemGroup>
+ <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
+ <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
+ </PropertyGroup>
+</Project>