[pypy-commit] pypy default: unroll this
alex_gaynor
noreply at buildbot.pypy.org
Tue Mar 6 02:00:47 CET 2012
Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch:
Changeset: r53242:526ab5d0d4a7
Date: 2012-03-05 20:00 -0500
http://bitbucket.org/pypy/pypy/changeset/526ab5d0d4a7/
Log: unroll this
diff --git a/pypy/rlib/rstruct/ieee.py b/pypy/rlib/rstruct/ieee.py
--- a/pypy/rlib/rstruct/ieee.py
+++ b/pypy/rlib/rstruct/ieee.py
@@ -4,7 +4,7 @@
import math
-from pypy.rlib import rarithmetic, rfloat, objectmodel
+from pypy.rlib import rarithmetic, rfloat, objectmodel, jit
from pypy.rlib.rarithmetic import r_ulonglong
@@ -135,6 +135,7 @@
return ((sign << BITS - 1) | (exp << MANT_DIG - 1)) | mant
+ at jit.unroll_safe
def pack_float(result, x, size, be):
l = []
unsigned = float_pack(x, size)
More information about the pypy-commit
mailing list