[pypy-svn] pypy jit-longlong: Fix the test for SBB.

arigo commits-noreply at bitbucket.org
Fri Jan 14 16:12:49 CET 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: jit-longlong
Changeset: r40676:de03b31c3856
Date: 2011-01-14 16:04 +0100
http://bitbucket.org/pypy/pypy/changeset/de03b31c3856/

Log:	Fix the test for SBB.

diff --git a/pypy/jit/backend/x86/test/test_rx86_32_auto_encoding.py b/pypy/jit/backend/x86/test/test_rx86_32_auto_encoding.py
--- a/pypy/jit/backend/x86/test/test_rx86_32_auto_encoding.py
+++ b/pypy/jit/backend/x86/test/test_rx86_32_auto_encoding.py
@@ -223,7 +223,7 @@
         else:
             # special cases
             if methname in ('ADD_ri', 'AND_ri', 'CMP_ri', 'OR_ri',
-                            'SUB_ri', 'XOR_ri'):
+                            'SUB_ri', 'XOR_ri', 'SBB_ri'):
                 if args[0] == rx86.R.eax:
                     return []     # ADD EAX, constant: there is a special encoding
             if methname == 'XCHG_rr' and rx86.R.eax in args:


More information about the Pypy-commit mailing list