}
.method public static int32 test_0_conv_ovf_u_un () cil managed {
- .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.
.maxstack 16
ldc.i4 1234
}
.method public static int32 test_0_lconv_ovf_u_un () cil managed {
- .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.
.maxstack 16
ldc.i4 1234
}
.method public static int32 test_0_lconv_to_ovf_u8_un () cil managed {
- .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.
.maxstack 16
ldc.i4 1234
}
.method public static int32 test_2_lconv_to_ovf_i4_un () cil managed {
- .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.
.maxstack 16
.locals init (int32 res)
}
.method public static int32 test_7_conv_ovf_u8_un () {
- .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.
.maxstack 2
.locals init (unsigned int64)
++ip;
MINT_IN_BREAK;
MINT_IN_CASE(MINT_CONV_OVF_I4_I8)
- if (sp [-1].data.l < MYGINT32_MIN || sp [-1].data.l > MYGINT32_MAX)
+ if (sp [-1].data.l <= MYGINT32_MIN || sp [-1].data.l > MYGINT32_MAX)
THROW_EX (mono_get_exception_overflow (), ip);
sp [-1].data.i = (gint32) sp [-1].data.l;
++ip;
break;
}
case CEE_CONV_OVF_I_UN:
+ case CEE_CONV_OVF_U_UN:
CHECK_STACK (&td, 1);
switch (td.sp [-1].type) {
case STACK_TYPE_R8:
#endif
break;
case STACK_TYPE_I8:
- /*FIX*/
+#if SIZEOF_VOID_P == 4
+ ADD_CODE (&td, MINT_CONV_OVF_I4_UN_I8);
+#endif
break;
case STACK_TYPE_I4:
#if SIZEOF_VOID_P == 8
++td.ip;
break;
case CEE_CONV_OVF_I8_UN:
+ case CEE_CONV_OVF_U8_UN:
CHECK_STACK (&td, 1);
switch (td.sp [-1].type) {
case STACK_TYPE_R8: