[pypy-commit] pypy default: mark these unroll safe also

bdkearns noreply at buildbot.pypy.org
Sat Feb 16 10:31:37 CET 2013


Author: Brian Kearns <bdkearns at gmail.com>
Branch: 
Changeset: r61310:06d109391705
Date: 2013-02-16 04:28 -0500
http://bitbucket.org/pypy/pypy/changeset/06d109391705/

Log:	mark these unroll safe also

diff --git a/rpython/rlib/rstruct/ieee.py b/rpython/rlib/rstruct/ieee.py
--- a/rpython/rlib/rstruct/ieee.py
+++ b/rpython/rlib/rstruct/ieee.py
@@ -255,6 +255,7 @@
         l.reverse()
     result.append("".join(l))
 
+ at jit.unroll_safe
 def unpack_float(s, be):
     unsigned = r_ulonglong(0)
     for i in range(min(len(s), 8)):
@@ -262,6 +263,7 @@
         unsigned |= r_ulonglong(c) << (i * 8)
     return float_unpack(unsigned, len(s))
 
+ at jit.unroll_safe
 def unpack_float80(s, be):
     QQ = [r_ulonglong(0), r_ulonglong(0)]
     for i in range(8):


More information about the pypy-commit mailing list