[pypy-svn] r46047 - pypy/branch/pypy-more-rtti-inprogress/translator/cli
antocuni at codespeak.net
antocuni at codespeak.net
Mon Aug 27 18:31:32 CEST 2007
Author: antocuni
Date: Mon Aug 27 18:31:31 2007
New Revision: 46047
Modified:
pypy/branch/pypy-more-rtti-inprogress/translator/cli/opcodes.py
Log:
- remove an unneeded conv from ullong_lshift
- implement ullong_rshift
Modified: pypy/branch/pypy-more-rtti-inprogress/translator/cli/opcodes.py
==============================================================================
--- pypy/branch/pypy-more-rtti-inprogress/translator/cli/opcodes.py (original)
+++ pypy/branch/pypy-more-rtti-inprogress/translator/cli/opcodes.py Mon Aug 27 18:31:31 2007
@@ -210,7 +210,8 @@
'ullong_ne': _not('ceq'),
'ullong_gt': 'cgt.un',
'ullong_ge': _not('clt.un'),
- 'ullong_lshift': [PushAllArgs, 'conv.u4', 'shl', 'conv.u8'],
+ 'ullong_lshift': [PushAllArgs, 'conv.u4', 'shl'],
+ 'ullong_rshift': [PushAllArgs, 'conv.i4', 'shr'],
# 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-svn
mailing list