summaryrefslogtreecommitdiff
path: root/tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b35354
diff options
context:
space:
mode:
authorJiyoung Yun <jy910.yun@samsung.com>2016-11-23 19:09:09 +0900
committerJiyoung Yun <jy910.yun@samsung.com>2016-11-23 19:09:09 +0900
commit4b4aad7217d3292650e77eec2cf4c198ea9c3b4b (patch)
tree98110734c91668dfdbb126fcc0e15ddbd93738ca /tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b35354
parentfa45f57ed55137c75ac870356a1b8f76c84b229c (diff)
downloadcoreclr-4b4aad7217d3292650e77eec2cf4c198ea9c3b4b.tar.gz
coreclr-4b4aad7217d3292650e77eec2cf4c198ea9c3b4b.tar.bz2
coreclr-4b4aad7217d3292650e77eec2cf4c198ea9c3b4b.zip
Imported Upstream version 1.1.0upstream/1.1.0
Diffstat (limited to 'tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b35354')
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b35354/b35354.il146
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b35354/b35354.ilproj40
2 files changed, 186 insertions, 0 deletions
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b35354/b35354.il b/tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b35354/b35354.il
new file mode 100644
index 0000000000..021e3d91e0
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b35354/b35354.il
@@ -0,0 +1,146 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+.assembly extern legacy library mscorlib {}
+.assembly extern System.Console
+{
+ .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )
+ .ver 4:0:0:0
+}
+.assembly ILGEN_0x58f32e86 {}
+.class ILGEN_0x58f32e86 {
+
+.method static int32 Method_0x5d38(unsigned int32 Arg_0x0) {
+.maxstack 17
+
+ .locals (int64[] local_0x0,int32[] local_0x1,unsigned int32[] local_0x2,unsigned int64[] local_0x3,float32 local_0x4,int16[] local_0x7,float64[] local_0x8)
+
+ldnull stloc local_0x0
+
+ldc.i4 255
+ newarr [mscorlib]System.Int32
+ stloc local_0x1
+ldc.i4 255
+ newarr [mscorlib]System.UInt32
+ stloc local_0x2
+ldc.i4 255
+ newarr [mscorlib]System.UInt64
+ stloc local_0x3
+ldc.r4 float32(0x2f48983)
+stloc local_0x4
+ldc.i4 255
+ newarr [mscorlib]System.Int16
+ stloc local_0x7
+ldc.i4 255
+ newarr [mscorlib]System.Double
+ stloc local_0x8
+
+
+Start_Orphan_0:
+ ldc.i4.8
+ conv.u1
+ newarr [mscorlib]System.Single
+ ldc.r8 float64(0x1a3667b23c6c720e)
+ conv.ovf.i4
+ ldelem.r4
+ ldc.i8 0x757f3ceb6cd32b58
+ conv.ovf.u8.un
+ conv.r4
+ sub
+ conv.ovf.u1
+ conv.u1
+ newarr [mscorlib]System.UInt64
+
+Start_Orphan_5:
+ ldloc local_0x8
+ ldloc local_0x2
+ ldarg Arg_0x0
+ ldelema [mscorlib]System.UInt32
+ ldind.u4
+ ldelema [mscorlib]System.Double
+ ldc.r8 float64(0x40df34e62db42f16)
+ conv.u8
+ ldc.i8 0x2f745bb040967838
+ ldc.i8 0x5bad18cf3a9e7fe0
+ rem.un
+ div.un
+ conv.r8
+ stind.r8
+End_Orphan_5:
+
+Start_Orphan_d:
+ ldloca local_0x4
+ ldc.r4 float32(0x598076fe)
+ stind.r4
+End_Orphan_d:
+
+Start_Orphan_e:
+ ldloc local_0x7
+ ldc.i4.4
+ ldelema [mscorlib]System.Int16
+ ldc.i4.5
+ stind.i2
+End_Orphan_e:
+
+Start_Orphan_c:
+ ldloc local_0x8
+ ldc.r4 float32(0x509c5c60)
+ conv.ovf.i2
+ ldelema [mscorlib]System.Double
+ pop
+End_Orphan_c:
+
+ ldloc local_0x4
+ conv.u
+ conv.u
+ ldelema [mscorlib]System.UInt64
+ ldc.i8 0x7e54324e29bb31a6
+ conv.u8
+ stind.i8
+End_Orphan_0:
+
+
+Start_Orphan_2a:
+ ldloc local_0x1
+ ldarga Arg_0x0
+ ldind.u4
+ ldelema [mscorlib]System.Int32
+ ldloc local_0x3
+ ldlen
+ ldloc local_0x1
+ ldc.i4.5
+ ldelem.i4
+ mul.ovf.un
+ stind.i4
+End_Orphan_2a:
+
+ ldloc local_0x2
+ ldc.r4 float32(0x399d1191)
+ conv.ovf.i4
+ conv.ovf.u8
+ conv.u1
+ //cgt
+ pop
+ pop
+ ldc.i4.0
+ ret
+}
+.method static int32 Main() {
+.entrypoint
+.maxstack 20
+.try {
+ldc.i4 0x648073fe
+call int32 ILGEN_0x58f32e86::Method_0x5d38(unsigned int32 Arg_0x0)
+ pop
+ leave stop
+ } catch [mscorlib]System.OverflowException {
+ pop
+ leave stop
+ }
+ stop:
+ldc.i4 100
+ret
+}
+
+}
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b35354/b35354.ilproj b/tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b35354/b35354.ilproj
new file mode 100644
index 0000000000..6ba7d283d6
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b35354/b35354.ilproj
@@ -0,0 +1,40 @@
+<?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>
+
+ </PropertyGroup>
+ <ItemGroup>
+ <Compile Include="b35354.il" />
+ </ItemGroup>
+ <ItemGroup>
+ <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
+ </ItemGroup>
+ <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
+ <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
+ </PropertyGroup>
+</Project> \ No newline at end of file