[pypy-svn] pypy default: ullong_{or,and} for the jvm backend

antocuni commits-noreply at bitbucket.org
Mon Apr 11 12:01:22 CEST 2011


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: 
Changeset: r43283:6941a8b016dd
Date: 2011-04-11 09:03 +0000
http://bitbucket.org/pypy/pypy/changeset/6941a8b016dd/

Log:	ullong_{or,and} for the jvm backend

diff --git a/pypy/translator/jvm/opcodes.py b/pypy/translator/jvm/opcodes.py
--- a/pypy/translator/jvm/opcodes.py
+++ b/pypy/translator/jvm/opcodes.py
@@ -205,6 +205,8 @@
     'ullong_lshift':            [PushAllArgs, jvm.L2I, jvm.LSHL, StoreResult],
     'ullong_rshift':            [PushAllArgs, jvm.L2I, jvm.LUSHR, StoreResult],
     'ullong_mod_zer':           jvm.PYPYULONGMOD,
+    'ullong_or':                jvm.LOR,
+    'ullong_and':               jvm.LAND,
 
     # when casting from bool we want that every truth value is casted
     # to 1: we can't simply DoNothing, because the CLI stack could


More information about the Pypy-commit mailing list