[pypy-commit] pypy default: Fix on 32-bit

arigo noreply at buildbot.pypy.org
Sun Feb 22 18:26:04 CET 2015


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r76057:097db6dff79b
Date: 2015-02-22 18:26 +0100
http://bitbucket.org/pypy/pypy/changeset/097db6dff79b/

Log:	Fix on 32-bit

diff --git a/rpython/jit/backend/x86/test/test_runner.py b/rpython/jit/backend/x86/test/test_runner.py
--- a/rpython/jit/backend/x86/test/test_runner.py
+++ b/rpython/jit/backend/x86/test/test_runner.py
@@ -30,15 +30,18 @@
     # for the individual tests see
     # ====> ../../test/runner_test.py
 
-    add_loop_instructions = ['mov',
-                             'nop',    # for the label
-                             'add', 'test', 'je', 'jmp',
-                             'data32',   # padding
-                             ]
     if WORD == 4:
-        bridge_loop_instructions = ['cmp', 'jge', 'mov', 'mov', 'call', 'jmp'
-                                    'nop']   # padding
+        add_loop_instructions = ['mov',
+                                 'lea',    # a nop, for the label
+                                 'add', 'test', 'je', 'jmp',
+                                 'nop']    # padding
+        bridge_loop_instructions = ['cmp', 'jge', 'mov', 'mov', 'call', 'jmp',
+                                    'lea', 'lea']   # padding
     else:
+        add_loop_instructions = ['mov',
+                                 'nop',    # for the label
+                                 'add', 'test', 'je', 'jmp',
+                                 'data32']   # padding
         bridge_loop_instructions = [
             'cmp', 'jge', 'mov', 'mov', 'mov', 'mov', 'call', 'mov', 'jmp',
             'nop']      # padding


More information about the pypy-commit mailing list