Author: David Schneider <[email protected]>
Branch: arm-backend-2
Changeset: r54202:fdde7a2ddb35
Date: 2012-03-28 11:35 +0000
http://bitbucket.org/pypy/pypy/changeset/fdde7a2ddb35/
Log: implement convert_float_bytes_to_longlong
diff --git a/pypy/jit/backend/arm/opassembler.py
b/pypy/jit/backend/arm/opassembler.py
--- a/pypy/jit/backend/arm/opassembler.py
+++ b/pypy/jit/backend/arm/opassembler.py
@@ -1297,3 +1297,5 @@
assert res.is_reg()
self.mc.VMOV_rc(res.value, r.ip.value, loc.value)
return fcond
+
+ emit_op_convert_float_bytes_to_longlong =
gen_emit_unary_float_op('float_bytes_to_longlong', 'VMOV_cc')
diff --git a/pypy/jit/backend/arm/regalloc.py b/pypy/jit/backend/arm/regalloc.py
--- a/pypy/jit/backend/arm/regalloc.py
+++ b/pypy/jit/backend/arm/regalloc.py
@@ -1204,6 +1204,9 @@
self.force_spill_var(op.getarg(0))
return []
+ prepare_op_convert_float_bytes_to_longlong = prepare_float_op(base=False,
+ name='prepare_op_convert_float_bytes_to_longlong')
+
def add_none_argument(fn):
return lambda self, op, fcond: fn(self, op, None, fcond)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit