[pypy-commit] pypy default: (arigo, bivab) on ARMv6 gen_load_int might need more instructions

bivab noreply at buildbot.pypy.org
Thu Mar 28 22:53:41 CET 2013


Author: David Schneider <david.schneider at picle.org>
Branch: 
Changeset: r62860:17a2a287384c
Date: 2013-03-28 22:41 +0100
http://bitbucket.org/pypy/pypy/changeset/17a2a287384c/

Log:	(arigo, bivab) on ARMv6 gen_load_int might need more instructions

diff --git a/rpython/jit/backend/arm/codebuilder.py b/rpython/jit/backend/arm/codebuilder.py
--- a/rpython/jit/backend/arm/codebuilder.py
+++ b/rpython/jit/backend/arm/codebuilder.py
@@ -271,6 +271,7 @@
           self.MOV_rr(reg.pc.value, reg.pc.value)
           self.write32(value)
 
+    max_size_of_gen_load_int = 4 * WORD
     ofs_shift = zip(range(8, 25, 8), range(12, 0, -4))
     def _load_by_shifting(self, r, value, c=cond.AL):
         # to be sure it is only called for the correct cases


More information about the pypy-commit mailing list