2 .custom instance void class [mscorlib]System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::'.ctor'() = (
3 01 00 01 00 54 02 16 57 72 61 70 4E 6F 6E 45 78 // ....T..WrapNonEx
4 63 65 70 74 69 6F 6E 54 68 72 6F 77 73 01 ) // ceptionThrows.
6 .assembly extern TestDriver {}
7 .assembly extern mscorlib {}
9 .class public auto ansi sealed beforefieldinit Tests {
11 .method static public int32 Main(string[] args) il managed {
15 call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
17 call int32 [TestDriver]TestDriver::RunTests(class [mscorlib]System.Type, string[])
21 // make sure the register allocator works when the return value of
23 .method static public int32 test_0_div_regalloc () il managed {
37 .method static public int32 test_1_ceq_to_i4 () il managed {
51 .method static public int32 test_3_shl_regvars () il managed {
98 .method static public int32 test_1_fceq_to_i4 () il managed {
118 // This should be manually checked. Basically under -O=linears,
119 // you should not see tons of register spilling.
121 .method static public int32 test_1_bytedreg_free () il managed {
157 // This should be manually checked. Basically under -O=linears,
158 // you should not see tons of register spilling.
160 .method static public int32 test_0_bytesreg1_free () il managed {
161 .custom instance void [TestDriver]CategoryAttribute::.ctor(string) = ( 01 00 0C 21 49 4E 54 45 52 50 52 45 54 45 52 00 00 ) // ...!INTERPRETER.
200 .method static public int32 test_1_shift_regvar () il managed {
221 // this only happens with the managed pointer, not an unmanaged one.
222 .method static public int32 test_0_foo () il managed {
223 .custom instance void [TestDriver]CategoryAttribute::.ctor(string) = ( 01 00 0C 21 49 4E 54 45 52 50 52 45 54 45 52 00 00 ) // ...!INTERPRETER.
240 .method static public int32 test_0_localloc () cil managed {
241 .custom instance void [TestDriver]CategoryAttribute::.ctor(string) = ( 01 00 0C 21 49 4E 54 45 52 50 52 45 54 45 52 00 00 ) // ...!INTERPRETER.
242 .locals init (native int, native int, native int, native int, int32)
267 // Check zero initialized
316 // Try allocations bigger than one page
342 .method private static void do_localloc () cil managed {
347 IL_0001: ldc.i4 131072
354 // Check that localloc cannot be inlined
355 .method static public int32 test_0_localloc_inline () cil managed {
365 START: call void class Tests::do_localloc()
378 .method static public int32 test_3_copy_used_bug () il managed {
404 // demonstrate that the copy_used_var is not a fix for the above bug
405 .method static public int32 test_3_copy_used_indir_bug () il managed {
432 .method static public void do_nothing (int32 a) il managed {
436 // demonstrate the block_split failure: needs -O=inline
437 // mini -O=inline --compile Tests:test_0_split_block_bug iltests.exe
438 .method static public int32 test_0_split_block_bug () il managed {
448 call void class Tests::do_nothing (int32)
456 .method public void inline_do_nothing () il managed {
459 .method static public int32 test_1_checkthis_inlining () il managed {
461 call instance void class Tests::inline_do_nothing ()
466 .class nested private auto ansi sealed beforefieldinit TailCallStruct
467 extends [mscorlib]System.ValueType {
468 .field public int32 a
469 .field public int32 b
472 .method static valuetype Tests/TailCallStruct tail1 (valuetype Tests/TailCallStruct arg) {
475 ldfld int32 Tests/TailCallStruct::a
478 stfld int32 Tests/TailCallStruct::a
481 ldfld int32 Tests/TailCallStruct::a
484 stfld int32 Tests/TailCallStruct::a
489 .method static valuetype Tests/TailCallStruct tail2 (valuetype Tests/TailCallStruct arg) {
492 call valuetype Tests/TailCallStruct Tests::tail1 (valuetype Tests/TailCallStruct)
496 .class nested private auto ansi sealed beforefieldinit TailCallStructBig
497 extends [mscorlib]System.ValueType {
498 .field public int32 a
499 .field public int32 b
500 .field public int32 c
501 .field public int32 d
502 .field public int32 e
505 .method static valuetype Tests/TailCallStructBig tail_vret_by_addr_inner (valuetype Tests/TailCallStructBig arg) {
508 ldfld int32 Tests/TailCallStructBig::a
511 stfld int32 Tests/TailCallStructBig::a
516 .method static valuetype Tests/TailCallStructBig tail_vret_by_addr (valuetype Tests/TailCallStructBig arg) {
519 call valuetype Tests/TailCallStructBig Tests::tail_vret_by_addr_inner (valuetype Tests/TailCallStructBig)
523 .method static public int32 test_3_tail_call_vret_by_addr () il managed {
526 valuetype Tests/TailCallStructBig arg2
531 stfld int32 Tests/TailCallStructBig::a
533 call valuetype Tests/TailCallStructBig Tests::tail_vret_by_addr (valuetype Tests/TailCallStructBig)
537 ldfld int32 Tests/TailCallStructBig::a
541 .method static public int32 test_9_tail_call_vret_by_val () il managed {
544 valuetype Tests/TailCallStruct arg
548 stfld int32 Tests/TailCallStruct::a
551 stfld int32 Tests/TailCallStruct::b
553 call valuetype Tests/TailCallStruct Tests::tail2 (valuetype Tests/TailCallStruct)
557 ldfld int32 Tests/TailCallStruct::a
559 ldfld int32 Tests/TailCallStruct::b
564 .method static public int32 tail3 (int32 i, int32 j) il managed {
571 .method static public int32 tail4 (int32 i, int32 j) il managed {
576 // Test arg0 allocated to a register
586 // Test switched up argument variables as the actual arguments
590 call int32 Tests::tail3 (int32, int32)
594 .method static public int32 test_24_tail_calls2 () il managed {
595 // Some platforms might not be able to AOT tail calls
596 .custom instance void class [TestDriver]CategoryAttribute::'.ctor'(string) = (01 00 08 21 46 55 4C 4C 41 4F 54 00 00 ) // ...!FULLAOT..
610 call int32 Tests::tail4 (int32, int32)
614 .method public static int32 test_5_jmp () cil managed {
615 // Some platforms might not be able to AOT tail calls
616 .custom instance void class [TestDriver]CategoryAttribute::'.ctor'(string) = (01 00 08 21 46 55 4C 4C 41 4F 54 00 00 ) // ...!FULLAOT..
620 call int32 Tests::jmp2 (int32, int32)
624 .method public static int32 jmp2 (int32, int32) cil managed {
633 jmp int32 Tests::jmp3 (int32, int32)
638 .method public static int32 jmp3 (int32 i, int32 j) cil managed {
645 .method static public int32 test_11_switch_with_nonempty_stack () il managed {
646 .custom instance void [TestDriver]CategoryAttribute::.ctor(string) = ( 01 00 0C 21 49 4E 54 45 52 50 52 45 54 45 52 00 00 ) // ...!INTERPRETER.
661 .method public static int32 test_5_endfinally_with_nonempty_stack () il managed {
675 .method public static int32 test_5_endfinally_llvm_linking () il managed {
696 .method public static int32 test_0_conv_ovf_i8_neg () il managed {
711 .method public static int32 test_1234_conv_u4 () cil managed {
720 .method public static int32 test_0_conv_ovf_i_un () cil managed {
739 sizeof [mscorlib]System.IntPtr
746 } catch [mscorlib]System.OverflowException {
758 .method public static int32 test_0_conv_ovf_u_un () cil managed {
759 .custom instance void [TestDriver]CategoryAttribute::.ctor(string) = ( 01 00 0C 21 49 4E 54 45 52 50 52 45 54 45 52 00 00 ) // ...!INTERPRETER.
774 .method public static int32 test_0_conv_ovf_i () cil managed {
789 .method public static int32 test_0_conv_ovf_u () cil managed {
804 .method public static int32 test_1234_conv_ovf_i8_un () cil managed {
813 .method public static int32 test_0_lconv_ovf_i () cil managed {
829 .method public static int32 test_0_lconv_ovf_u () cil managed {
845 .method public static int32 test_0_lconv_ovf_i_un () cil managed {
861 .method public static int32 test_0_lconv_ovf_u_un () cil managed {
862 .custom instance void [TestDriver]CategoryAttribute::.ctor(string) = ( 01 00 0C 21 49 4E 54 45 52 50 52 45 54 45 52 00 00 ) // ...!INTERPRETER.
878 .method public static int32 test_0_lconv_to_ovf_i8 () cil managed {
894 .method public static int32 test_0_lconv_to_ovf_u8_un () cil managed {
895 .custom instance void [TestDriver]CategoryAttribute::.ctor(string) = ( 01 00 0C 21 49 4E 54 45 52 50 52 45 54 45 52 00 00 ) // ...!INTERPRETER.
911 .method public static int32 test_2_lconv_to_ovf_i4_un () cil managed {
912 .custom instance void [TestDriver]CategoryAttribute::.ctor(string) = ( 01 00 0C 21 49 4E 54 45 52 50 52 45 54 45 52 00 00 ) // ...!INTERPRETER.
914 .locals init (int32 res)
931 } catch [mscorlib]System.OverflowException {
939 ldc.i8 0xffffffff80000000
945 } catch [mscorlib]System.OverflowException {
955 .method public static int32 test_1_lconv_to_ovf_i_un () cil managed {
957 .locals init (int32 res)
969 .method public static int32 test_32_lconv_to_u8 () cil managed
980 .method public static int32 test_32_lconv_to_i8 () cil managed
991 .method public static int32 test_15_lconv_to_u () cil managed
999 .method public static int32 test_1234_fconv_u () cil managed {
1008 .method public static int32 test_0_get_type_from_handle_on_bblock_boundary () cil managed
1015 ldtoken [mscorlib]System.String
1018 ldtoken [mscorlib]System.Object
1020 call class [mscorlib]'System.Type' class [mscorlib]'System.Type'::'GetTypeFromHandle'(valuetype [mscorlib]'System.RuntimeTypeHandle')
1021 callvirt instance string class [mscorlib]System.Type::get_FullName ()
1022 ldstr "System.String"
1023 callvirt instance bool class [mscorlib]System.Object::Equals(object)
1029 .method public static int32 test_0_bug59580 ()
1031 ldc.r4 float32(0x7FC00000)
1032 ldc.r4 float32(0x7FC00000)
1043 .method public static int32 test_1_bug60056 () {
1044 .locals init (int32 m5)
1062 .method public static int32 test_1_conv_u8_cfold () {
1066 ldc.i8 0x00000000ffffffff
1072 .method public static int32 test_1_array_type_mismatch_ldelema () {
1073 .locals init (int32 r)
1089 } catch [mscorlib]System.ArrayTypeMismatchException {
1100 .method public static int32 test_1_conv_ovf_i8_with_i4 () {
1109 .method public static int32 test_0_initlocals_float_ptr () {
1113 float32& pinned V_1,
1116 newarr [mscorlib]System.Single
1124 ldelema [mscorlib]System.Single
1134 .method public static int32 test_7_conv_ovf_u8_un () {
1135 .custom instance void [TestDriver]CategoryAttribute::.ctor(string) = ( 01 00 0C 21 49 4E 54 45 52 50 52 45 54 45 52 00 00 ) // ...!INTERPRETER.
1137 .locals init (unsigned int64)
1147 .method public static int32 test_7_conv_ovf_u4_un () {
1149 .locals init (unsigned int32)
1159 .method public static int32 test_1_bug_74591 () {
1161 .locals init (int32)
1174 .class nested public auto ansi Integer
1175 extends [mscorlib]System.Object {
1177 .field public bool n
1179 .method public hidebysig specialname rtspecialname
1180 instance default void .ctor (unsigned int64 i, bool n) cil managed
1184 call instance void class [mscorlib]System.Object::.ctor()
1187 stfld bool Tests/Integer::n
1192 .method public static int32 test_1_bug_74726 () {
1201 newobj instance void class Tests/Integer::.ctor(unsigned int64, bool)
1202 ldfld bool Tests/Integer::n
1208 .class nested private auto ansi sealed xxx
1209 extends [mscorlib]System.ValueType
1211 .field public object a
1213 .method public hidebysig specialname rtspecialname
1214 instance default void .ctor () cil managed
1219 } // end of class xxx
1221 .method public static int32 test_0_newobj_vtype () {
1222 .custom instance void [TestDriver]CategoryAttribute::.ctor(string) = ( 01 00 0C 21 49 4E 54 45 52 50 52 45 54 45 52 00 00 ) // ...!INTERPRETER.
1225 valuetype Tests/xxx V_0
1228 newobj instance void valuetype Tests/xxx::.ctor ()
1231 ldfld object Tests/xxx::a
1240 .method public static int32 test_0_newobj_vtype_primitive () {
1247 newobj instance void native int::'.ctor'(int32)
1259 .method public static int32 test_1_filters () {
1260 .custom instance void [TestDriver]CategoryAttribute::.ctor(string) = ( 01 00 0C 21 49 4E 54 45 52 50 52 45 54 45 52 00 00 ) // ...!INTERPRETER.
1261 // .custom instance void [TestDriver]CategoryAttribute::.ctor(string) = ( 01 00 08 21 42 49 54 43 4F 44 45 00 00 ) // ...!BITCODE..
1269 ldstr "OnErrorSub test Exception"
1270 newobj instance void class [mscorlib]System.Exception::.ctor(string)
1280 // Should not be called
1302 .class nested private auto ansi sealed beforefieldinit TheStruct
1303 extends [mscorlib]System.ValueType {
1304 .field public int32 a
1305 .field public int32 b
1308 .method public static int32 test_5_cpobj () {
1309 .custom instance void [TestDriver]CategoryAttribute::.ctor(string) = ( 01 00 0C 21 49 4E 54 45 52 50 52 45 54 45 52 00 00 ) // ...!INTERPRETER.
1312 valuetype Tests/TheStruct v_0,
1313 valuetype Tests/TheStruct v_1
1318 stfld int32 Tests/TheStruct::a
1322 stfld int32 Tests/TheStruct::b
1326 cpobj Tests/TheStruct
1329 ldfld int32 Tests/TheStruct::a
1331 ldfld int32 Tests/TheStruct::b
1337 .method public static int32 test_5_ldobj_stloc_optimization () {
1340 valuetype Tests/TheStruct v_0,
1341 valuetype Tests/TheStruct v_1
1346 stfld int32 Tests/TheStruct::a
1350 stfld int32 Tests/TheStruct::b
1353 ldobj valuetype Tests/TheStruct
1357 ldfld int32 Tests/TheStruct::a
1359 ldfld int32 Tests/TheStruct::b
1365 .method public static int32 test_1_cpobj_reference () {
1366 .custom instance void [TestDriver]CategoryAttribute::.ctor(string) = ( 01 00 0C 21 49 4E 54 45 52 50 52 45 54 45 52 00 00 ) // ...!INTERPRETER.
1373 newobj instance void object::.ctor()
1386 .method public static int32 test_1_initobj_reference () {
1387 .custom instance void [TestDriver]CategoryAttribute::.ctor(string) = ( 01 00 0C 21 49 4E 54 45 52 50 52 45 54 45 52 00 00 ) // ...!INTERPRETER.
1393 newobj instance void object::.ctor()
1405 .method public static int32 test_1_ldobj_reference () {
1411 newobj instance void object::.ctor()
1421 .method public static int32 test_5_vtype_on_bb_boundary () {
1424 valuetype Tests/TheStruct v_0,
1425 valuetype Tests/TheStruct v_1
1430 stfld int32 Tests/TheStruct::a
1434 stfld int32 Tests/TheStruct::b
1441 ldfld int32 Tests/TheStruct::a
1443 ldfld int32 Tests/TheStruct::b
1448 .method public static int32 test_5_different_in_stacks () cil managed {
1472 .method public static int32 test_3_larray_get_set () {
1477 newobj instance void int32[0...]::.ctor(int32)
1482 call instance void int32[0...]::Set(int32, int32)
1486 call instance void int32[0...]::Set(int32, int32)
1490 call instance int32 int32[0...]::Get(int32)
1493 call instance int32 int32[0...]::Get(int32)
1498 .method public static int32 test_0_pop_side_effects () {
1507 catch [mscorlib]System.ArithmeticException {
1519 .method public static void regalloc_regress_78314_helper (object o) cil managed
1524 .method public static int32 test_1_regalloc_regress_78314 () cil managed
1526 // Code size 68 (0x44)
1528 .locals init (int32 V_0, bool V_1)
1531 IL_0002: br.s IL_003b
1534 IL_001e: ldc.i4.s 10
1537 IL_0022: ldc.i4.s 10
1541 IL_0028: box [mscorlib]System.Boolean
1542 IL_0032: call void Tests::regalloc_regress_78314_helper(object)
1549 IL_003f: blt.s IL_0004
1558 .method public static void try_block_end_remove_if_useless () cil managed {
1576 .try T_START to T1_END finally handler F1_START to F1_END
1579 .method public static int32 test_0_try_block_end_remove_if_useless () cil managed {
1580 call void class Tests::try_block_end_remove_if_useless ()
1585 .method private static int32 test_0_regress_78629_switch_next_ins_target () cil managed
1595 // This belongs to basic-float.cs, but its hard to tell mcs/csc to
1596 // generate the non .un version of the opcodes
1597 .method private static hidebysig
1598 default int32 test_4_float_branch_nan () cil managed
1600 // Method begins at RVA 0x27a4
1601 // Code size 74 (0x4a)
1607 IL_0000: ldc.r8 (00 00 00 00 00 00 f8 ff)
1615 IL_0018: bge.s IL_001a
1627 IL_0022: ble.s IL_002e
1638 IL_0036: blt.s IL_0038
1649 IL_0040: bgt.s IL_0042
1660 } // end of method Tests::test_5_float_branch_nan
1662 .method private static hidebysig
1663 default void regress_80622_inner (object x) cil managed
1665 .locals init (unsigned int8 i)
1666 // Method begins at RVA 0x2050
1667 // Code size 14 (0xe)
1670 IL_1001: unbox unsigned int8
1671 IL_1006: ldobj unsigned int8
1672 IL_000b: conv.ovf.i4.un
1678 .method private static hidebysig
1679 default int32 test_0_regress_80622 () cil managed
1683 IL_0005: box unsigned int8
1684 IL_000a: call void class Tests::regress_80622_inner (object)
1689 .method private static default int32 test_0_regresss_80190 () cil managed
1692 .locals init (int32 V_0,
1696 IL_0002: ldloca.s V_0
1707 .class interface nested public auto ansi abstract IFaceWithStaticMethod
1709 .method public static specialname
1710 default void foo () cil managed noinlining
1717 .class nested public auto ansi AClass extends [mscorlib]System.Object implements Tests/IFaceWithStaticMethod
1719 .method public hidebysig specialname rtspecialname
1720 instance default void .ctor () cil managed
1728 // Test that static methods in interfaces are ignored during vtable construction
1729 .method private static default int32 test_0_ifaces_with_static_methods () cil managed
1733 newobj instance void class Tests/AClass::.ctor()
1739 .method private static hidebysig default int32 Foo<T> (!!T n) cil managed {
1750 .method static public int32 test_0_nullable_box_brtrue () cil managed {
1752 .locals init (valuetype [mscorlib]System.Nullable`1<int32> V_0)
1755 call int32 class Tests::Foo<valuetype [mscorlib]System.Nullable`1<int32>> (!!0)
1760 .method static public int32 test_0_ldelema_type_check () cil managed {
1762 .locals init (object[] V_0,
1774 } catch [mscorlib]System.ArrayTypeMismatchException {
1788 } catch [mscorlib]System.ArrayTypeMismatchException {
1800 readonly. ldelema object
1802 } catch [mscorlib]System.ArrayTypeMismatchException {
1826 .method static public int32 test_0_array_address_type_check () cil managed {
1827 .custom instance void [TestDriver]CategoryAttribute::.ctor(string) = ( 01 00 0C 21 49 4E 54 45 52 50 52 45 54 45 52 00 00 ) // ...!INTERPRETER.
1829 .locals init (object[] V_0,
1834 newobj instance void object[,]::.ctor(int32, int32)
1841 call instance object& object[,]::Address(int32, int32)
1843 } catch [mscorlib]System.ArrayTypeMismatchException {
1850 newobj instance void string[,]::.ctor(int32, int32)
1857 call instance object& object[,]::Address(int32, int32)
1859 } catch [mscorlib]System.ArrayTypeMismatchException {
1866 newobj instance void string[,]::.ctor(int32, int32)
1873 readonly. call instance object& object[,]::Address(int32, int32)
1875 } catch [mscorlib]System.ArrayTypeMismatchException {
1895 .field public static unsigned int64 'ull'
1897 .field public static int32 'shift2'
1899 .method public static int32 test_0_long_shift_regalloc () cil managed
1901 .locals init (unsigned int32 'cilsimp.28', unsigned int64 'cilsimp.27', int32 'cilsimp.26')
1905 ldc.i8 81985529234382576
1906 stsfld unsigned int64 Tests::ull
1908 stsfld int32 Tests::shift2
1910 ldsfld unsigned int64 Tests::ull
1912 ldsfld int32 Tests::shift2
1923 ldc.i8 1311768467750121216
1931 // Test calling ldfld directly on a vtype instead of a vtype address
1932 .method public static int32 test_5_call_ldfld_vtype () cil managed
1936 valuetype Tests/TailCallStruct arg
1940 stfld int32 Tests/TailCallStruct::a
1943 stfld int32 Tests/TailCallStruct::b
1945 call valuetype Tests/TailCallStruct Tests::tail2 (valuetype Tests/TailCallStruct)
1946 ldfld int32 Tests/TailCallStruct::a
1950 .method public static int32 throw_ret () cil managed
1953 newobj instance void class [mscorlib]System.OverflowException::.ctor(string)
1959 .method public static int32 throw2_ret () cil managed
1966 call int32 Tests::throw_ret ()
1970 // Test inlining a method which contains just a throw
1971 .method public static int32 test_0_inline_throw () cil managed
1979 call int32 Tests::throw2_ret ()
1982 } catch [mscorlib]System.OverflowException {
1995 .method public static int32 test_0_stelem_any_null_opt () cil managed
2003 newarr [mscorlib]System.Object
2014 stelem.any [mscorlib]System.Object
2029 .method public static hidebysig
2030 default int32 manyargs_callee (int32 a, int32 b, int32 c, int32 d, int32 e, int32 f, int32 g, int32 h, int32 i, int32 j, int32 k, int32 l, int32 m, int32 n, int32 o, int32 p) cil managed
2032 // Method begins at RVA 0x20f4
2033 // Code size 44 (0x2c)
2067 } // end of method main::callee
2070 .method public static hidebysig
2071 default int32 manyargs_tail_caller (int32 a, int32 b, int32 c, int32 d, int32 e, int32 f, int32 g, int32 h, int32 i, int32 j, int32 k, int32 l, int32 m, int32 n, int32 o, int32 p) cil managed
2073 // Method begins at RVA 0x2124
2074 // Code size 34 (0x22)
2099 IL_001c: call int32 class Tests::manyargs_callee(int32, int32, int32, int32, int32, int32, int32, int32, int32, int32, int32, int32, int32, int32, int32, int32)
2101 } // end of method main::caller
2104 .method public static hidebysig
2105 default int32 test_139_many_args_tail_call () cil managed
2107 // Some platforms might not be able to AOT tail calls
2108 .custom instance void class [TestDriver]CategoryAttribute::'.ctor'(string) = (01 00 08 21 46 55 4C 4C 41 4F 54 00 00 ) // ...!FULLAOT..
2110 // Method begins at RVA 0x2154
2111 // Code size 43 (0x2b)
2121 IL_0008: ldc.i4.s 0x09
2122 IL_000a: ldc.i4.s 0x0a
2123 IL_000c: ldc.i4.s 0x0b
2124 IL_000e: ldc.i4.s 0x0c
2125 IL_0010: ldc.i4.s 0x0d
2126 IL_0012: ldc.i4.s 0x0e
2127 IL_0014: ldc.i4.s 0x0f
2128 IL_0016: ldc.i4.s 0x10
2129 IL_0018: call int32 class Tests::manyargs_tail_caller(int32, int32, int32, int32, int32, int32, int32, int32, int32, int32, int32, int32, int32, int32, int32, int32)
2131 } // end of method main::Main
2133 .class nested private auto ansi beforefieldinit R1
2134 extends [mscorlib]System.MarshalByRefObject
2136 .field public int32 test_field
2138 .method public hidebysig specialname rtspecialname
2139 instance default void '.ctor' () cil managed
2145 .method public static hidebysig
2146 default int32 return_0 () cil managed
2152 .method public static hidebysig
2153 default int32 test_1_volatile_marshalbyref_bug_432673 () cil managed
2159 newobj instance void class Tests/R1::.ctor ()
2164 stfld int32 Tests/R1::test_field
2165 call int32 class Tests::return_0 ()
2171 .method public static default int32 return_2 () cil managed
2181 .method public static hidebysig
2182 default int32 test_1_cmov_opt_regress_463357 () cil managed
2184 call int32 class Tests::return_2 ()
2197 .method public static hidebysig default int32 cmov_opt_regress_474718_inner (int32 A_1) cil managed
2200 .locals init (int32 V_0, bool V_1, bool V_2)
2209 IL_001f: brfalse IL_0036
2226 .method public static default int32 test_0_cmov_opt_regress_474718 () cil managed
2230 call int32 Tests::cmov_opt_regress_474718_inner (int32)
2234 .method public static default int32 test_5_createarr_newobj () cil managed
2239 newobj void char[]::.ctor(int32)
2244 .method public static default int32 test_0_initblk_3_regress_481458 () cil managed
2247 .locals init (native int)
2253 // Set the first value to 3
2260 // Zero out the first 3 values
2266 // Load the first value
2275 .method public static float32 GetFloat32() cil managed noinlining
2278 ldc.r8 0.19975845134874831
2282 /* Disabled until they can be fixed to run on amd64
2283 .method public static default int32 test_0_implicit_float_to_double_conversion () cil managed
2287 call float32 Tests::GetFloat32()
2288 ldc.r8 0.19975845134874831
2299 .method public static default int32 test_0_long_to_r8_un_overflow () cil managed
2302 ldc.i8 0x00FFFFFFFFFFFFFF
2305 ldc.i8 0x100000000000000
2311 ldc.i8 0x00FFFFFFFFFFFFFF
2315 ldc.i8 0x100000000000000
2325 .field public static int32 shift1
2327 .method public static int32 regress_497271_helper (int32 i) cil managed
2333 .method public static int32 test_0_regalloc_regress_497271 () cil managed
2335 .locals init (int32 var)
2338 stsfld int32 Tests::shift1
2339 ldsfld int32 Tests::shift1
2354 call int32 Tests::regress_497271_helper (int32)
2358 call int32 Tests::regress_497271_helper (int32)
2362 .field private static int32 Value
2364 .method public static hidebysig specialname
2365 default int32 regress_513931_inner () cil managed
2367 // Method begins at RVA 0x225c
2368 // Code size 52 (0x34)
2376 stsfld int32 Tests::Value
2379 IL_0001: ldsfld int32 Tests::Value
2388 IL_0010: brtrue.s IL_0027
2392 IL_0014: ldc.i4.s 0x7b
2398 IL_001d: brtrue.s IL_0023
2402 IL_0021: br.s IL_0032
2406 IL_0025: br.s IL_0032
2409 IL_002c: newobj instance void class [mscorlib]System.Exception::'.ctor'()
2415 .method public static hidebysig specialname
2416 default int32 test_0_regress_513931 () cil managed
2418 call int32 Tests::regress_513931_inner ()
2424 .method public static default int32 test_0_newarr_i8 () cil managed
2428 newarr [mscorlib]System.Boolean
2434 .method public static specialname
2435 default int32 return_1_noinline () cil managed noinlining
2443 // Only happens with -O=-deadce,cmov
2444 .method public static default int32 test_0_cmov_unused_582322 () cil managed
2450 call int32 Tests::return_1_noinline ()
2460 .method public static hidebysig
2461 default int32 test_0_regress_586664 () cil managed
2463 // Method begins at RVA 0x20f4
2464 // Code size 76 (0x4c)
2472 IL_001b: call float64 class [mscorlib]System.Math::Pow(float64, float64)
2476 IL_0023: newarr [mscorlib]System.Double
2491 IL_0036: ldc.r8 -0.5
2492 IL_003f: bne.un IL_004a
2501 .method public static int32 test_2_leave_multiple_blocks_from_end ()
2503 .custom instance void [TestDriver]CategoryAttribute::.ctor(string) = ( 01 00 0C 21 49 4E 54 45 52 50 52 45 54 45 52 00 00 ) // ...!INTERPRETER.
2504 .locals init (int32 V_0)
2532 .method public static int32 test_3_leave_multiple_blocks_from_hole ()
2534 .custom instance void [TestDriver]CategoryAttribute::.ctor(string) = ( 01 00 0C 21 49 4E 54 45 52 50 52 45 54 45 52 00 00 ) // ...!INTERPRETER.
2535 .locals init (int32 V_0)
2572 .class nested private auto ansi sealed beforefieldinit Pair`2<TKey,TValue>
2573 extends [mscorlib]System.ValueType
2575 .field public !0 key
2576 .field public !1 'value'
2579 .method private static hidebysig
2580 default bool ContentEquals<TKey,TValue> (valuetype Tests/Pair`2<!!TKey, !!TValue> v) cil managed
2585 constrained. valuetype Tests/Pair`2<!!0,!!1>
2586 IL_0007: callvirt instance bool class [mscorlib]System.Object::Equals(object)
2590 .method public static hidebysig default int32 test_0_constrained_gshared_595863 () cil managed
2593 valuetype Tests/Pair`2<string, string> V_0,
2594 valuetype Tests/Pair`2<string, string> V_1)
2596 IL_0002: initobj valuetype Tests/Pair`2<string,string>
2601 IL_0011: stfld !0 valuetype Tests/Pair`2<string,string>::key
2604 IL_001d: stfld !1 valuetype Tests/Pair`2<string,string>::'value'
2608 IL_0025: call bool class Tests::ContentEquals<string, string> (valuetype Tests/Pair`2<!!0,!!1>)
2617 .method public static default int32 test_0_wrap_non_exception_throws () cil managed
2619 .custom instance void [TestDriver]CategoryAttribute::.ctor(string) = ( 01 00 0C 21 49 4E 54 45 52 50 52 45 54 45 52 00 00 ) // ...!INTERPRETER.
2621 newobj instance void class [mscorlib]System.Object::'.ctor'()
2624 } catch class [mscorlib]System.Runtime.CompilerServices.RuntimeWrappedException {
2632 .method public static default int32 test_0_typespec_modopt () cil managed {
2633 .custom instance void [TestDriver]CategoryAttribute::.ctor(string) = ( 01 00 0C 21 49 4E 54 45 52 50 52 45 54 45 52 00 00 ) // ...!INTERPRETER.
2634 ldtoken class Tests modopt (Tests)
2640 .method public hidebysig static int32 SizeOfT<T>() cil managed
2648 .method public static default int32 test_1_sizeof_gshared () cil managed {
2649 .custom instance void [TestDriver]CategoryAttribute::.ctor(string) = ( 01 00 0C 21 49 4E 54 45 52 50 52 45 54 45 52 00 00 ) // ...!INTERPRETER.
2650 call int32 Tests::SizeOfT<int8>()
2656 .method public static default int32 test_1_sizeof_ref () cil managed {
2657 call int32 Tests::SizeOfT<object>()
2658 sizeof [mscorlib]System.IntPtr
2663 .field static public int32 volatile_int
2665 .method public static default int32 test_5_volatile_load_store () cil managed {
2666 ldsflda int32 class Tests::volatile_int
2670 ldsflda int32 class Tests::volatile_int
2676 .method public static
2677 default int32 regress_693905_inner (int32 x, int32 acc) cil managed
2679 // Method begins at RVA 0x2050
2680 // Code size 17 (0x11)
2683 IL_0001: brtrue.s IL_0005
2695 IL_000f: br.s IL_0000
2697 } // end of method Test::f
2699 .method public static
2700 default int32 test_10_regress_693905 () cil managed
2704 call int32 class Tests::regress_693905_inner(int32, int32)
2708 .method public static
2709 default int32 test_0_llvm_regress_171 () cil managed
2711 .custom instance void [TestDriver]CategoryAttribute::.ctor(string) = ( 01 00 0C 21 49 4E 54 45 52 50 52 45 54 45 52 00 00 ) // ...!INTERPRETER.
2716 call int32 Tests::return_1_noinline ()
2721 call int32 Tests::return_1_noinline ()
2729 .field public static int32 static_a
2731 .method public static
2732 default int32 test_4_ldfld_stfld_static () cil managed
2734 .custom instance void [TestDriver]CategoryAttribute::.ctor(string) = ( 01 00 0C 21 49 4E 54 45 52 50 52 45 54 45 52 00 00 ) // ...!INTERPRETER.
2737 stfld int32 Tests::static_a
2739 ldfld int32 Tests::static_a
2741 ldflda int32 Tests::static_a
2747 .method public static default int32 no_initlocals_inner () cil managed
2753 valuetype Tests/TailCallStruct V_3)
2758 .method public static default int32 test_0_no_initlocals () cil managed
2760 call int32 Tests::no_initlocals_inner()
2766 .method public hidebysig static int32 test_5_r4_fadd_mixed() cil managed
2768 // Code size 17 (0x11)
2770 .locals init (float32 V_0,
2783 .method public hidebysig static int32 test_0_fcmp_eq_r4_mixed() cil managed
2785 // Code size 32 (0x20)
2787 .locals init (float32 V_0,
2795 IL_0013: bne.un IL_001e
2802 } // end of method Tests::test_0_fcmp_eq_r4_mixed
2804 .method public hidebysig static int32 test_0_fceq_r4_mixed() cil managed
2806 // Code size 31 (0x1f)
2808 .locals init (float32 V_0,
2820 IL_0012: brfalse IL_001d
2827 } // end of method Tests::test_0_fceq_r4
2829 .method public static int32 test_0_switch_loop () cil managed
2832 .locals init (valuetype Tests/TailCallStruct V_0, int32 V_1)