[pypy-svn] pypy jit-longlong: The "uint_rshift" operation now takes a regular signed integer as

arigo commits-noreply at bitbucket.org
Sun Jan 9 14:04:02 CET 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: jit-longlong
Changeset: r40517:063cf96ad790
Date: 2011-01-09 14:02 +0100
http://bitbucket.org/pypy/pypy/changeset/063cf96ad790/

Log:	The "uint_rshift" operation now takes a regular signed integer as a
	second argument.

diff --git a/pypy/jit/codewriter/test/test_flatten.py b/pypy/jit/codewriter/test/test_flatten.py
--- a/pypy/jit/codewriter/test/test_flatten.py
+++ b/pypy/jit/codewriter/test/test_flatten.py
@@ -717,7 +717,7 @@
             return ((r_uint(n) - 123) >> 1) <= r_uint(456)
         self.encoding_test(f, [200], """
             int_sub %i0, $123L -> %i1
-            uint_rshift %i1, $1L -> %i2
+            uint_rshift %i1, $1 -> %i2
             uint_le %i2, $456L -> %i3
             int_return %i3
         """, transform=True)


More information about the Pypy-commit mailing list