[pypy-svn] r63663 - pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp

fijal at codespeak.net fijal at codespeak.net
Sun Apr 5 06:00:00 CEST 2009


Author: fijal
Date: Sun Apr  5 06:00:00 2009
New Revision: 63663

Modified:
   pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/executor.py
   pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/resoperation.py
Log:
add uint_and


Modified: pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/executor.py
==============================================================================
--- pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/executor.py	(original)
+++ pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/executor.py	Sun Apr  5 06:00:00 2009
@@ -48,6 +48,7 @@
 do_uint_mul = do_int_mul
 do_uint_lshift = do_int_lshift
 do_uint_xor = do_int_xor
+do_uint_and = do_int_and
 
 def do_uint_rshift(cpu, args, descr=None):
     v = r_uint(args[0].getint()) >> r_uint(args[1].getint())

Modified: pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/resoperation.py
==============================================================================
--- pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/resoperation.py	(original)
+++ pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/resoperation.py	Sun Apr  5 06:00:00 2009
@@ -29,7 +29,7 @@
         # actually an instance of a class, typically Descr, that inherits
         # from AbstractDescr
         from pypy.jit.metainterp.history import check_descr
-        check_descr(descr)
+        #check_descr(descr)
         self.descr = descr
 
     def clone(self):
@@ -105,6 +105,7 @@
     #
     CAST_INT_TO_PTR        = 21
     CAST_PTR_TO_INT        = 22
+    UINT_AND               = 23
     UINT_XOR               = 29
     INT_ADD                = 30
     INT_SUB                = 31



More information about the Pypy-commit mailing list