2008-05-30 Zoltan Varga <vargaz@gmail.com>
authorZoltan Varga <vargaz@gmail.com>
Fri, 30 May 2008 13:40:39 +0000 (13:40 -0000)
committerZoltan Varga <vargaz@gmail.com>
Fri, 30 May 2008 13:40:39 +0000 (13:40 -0000)
* iltests.il.in: Merge tests/long-shift.regalloc.il into this file.

svn path=/trunk/mono/; revision=104515

mono/mini/ChangeLog
mono/mini/iltests.il.in

index 8058c34b99d36606519ce164182952ac82455551..b7f45e07b5438bb594dec63965dfa5fde5b36f50 100644 (file)
@@ -1,3 +1,7 @@
+2008-05-30  Zoltan Varga  <vargaz@gmail.com>
+
+       * iltests.il.in: Merge tests/long-shift.regalloc.il into this file.
+
 2008-05-28  Rodrigo Kumpera  <rkumpera@novell.com>
 
        * arrays.cs: Regression tests for allocating arrays with negative sizes.
index 5cc08c31b1f83d88b9651f5552085c44abef41e8..d4f6638402c5c6f5c23c183fcc2b520c1b904f69 100644 (file)
@@ -1724,4 +1724,39 @@ HAS_VALUE:       ldc.i4.1
                ret
        }
 
+       .field public  static unsigned int64 'ull'
+
+       .field public  static int32 'shift2'
+
+       .method public static int32 test_0_long_shift_regalloc () cil managed
+       {
+               .locals (unsigned int32 'cilsimp.28', unsigned int64 'cilsimp.27', int32 'cilsimp.26')
+
+               .maxstack 4
+
+               ldc.i8  81985529234382576
+               stsfld  unsigned int64 Tests::ull
+           ldc.i4      60
+               stsfld  int32 Tests::shift2
+
+               ldsfld  unsigned int64 Tests::ull
+               stloc   'cilsimp.27'
+               ldsfld  int32 Tests::shift2
+               stloc   'cilsimp.28'
+               ldloc   'cilsimp.27'
+               ldloc   'cilsimp.28'
+               shr.un
+               ldloc   'cilsimp.27'
+               ldc.i4  64
+               ldloc   'cilsimp.28'
+               sub
+               shl
+               or
+               ldc.i8  1311768467750121216
+               ceq
+               ldc.i4.1
+               xor
+               conv.u4
+               ret
+       }
 }