[pypy-commit] pypy default: fix on 64-bit, found by test_zll_stress again

arigo noreply at buildbot.pypy.org
Mon Dec 19 07:44:49 CET 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r50696:805e3e5dd0f6
Date: 2011-12-19 07:44 +0100
http://bitbucket.org/pypy/pypy/changeset/805e3e5dd0f6/

Log:	fix on 64-bit, found by test_zll_stress again

diff --git a/pypy/jit/backend/x86/assembler.py b/pypy/jit/backend/x86/assembler.py
--- a/pypy/jit/backend/x86/assembler.py
+++ b/pypy/jit/backend/x86/assembler.py
@@ -866,8 +866,8 @@
         high_part = rffi.cast(rffi.CArrayPtr(rffi.INT), from_loc.value)[1]
         low_part  = intmask(low_part)
         high_part = intmask(high_part)
-        self.mc.MOV_bi(to_loc.value,     low_part)
-        self.mc.MOV_bi(to_loc.value + 4, high_part)
+        self.mc.MOV32_bi(to_loc.value,     low_part)
+        self.mc.MOV32_bi(to_loc.value + 4, high_part)
 
     def regalloc_perform(self, op, arglocs, resloc):
         genop_list[op.getopnum()](self, op, arglocs, resloc)


More information about the pypy-commit mailing list